1 Star 0 Fork 0

幽鸟/plcrashreporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Package.swift 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
Ivan Matkov 提交于 2022-09-23 09:38 . Update Package.swift and README
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "PLCrashReporter",
platforms: [
.iOS(.v11),
.macOS(.v10_10),
.tvOS(.v11)
],
products: [
.library(name: "CrashReporter", targets: ["CrashReporter"])
],
targets: [
.target(
name: "CrashReporter",
path: "",
exclude: [
"Source/dwarf_opstream.hpp",
"Source/dwarf_stack.hpp",
"Source/PLCrashAsyncDwarfCFAState.hpp",
"Source/PLCrashAsyncDwarfCIE.hpp",
"Source/PLCrashAsyncDwarfEncoding.hpp",
"Source/PLCrashAsyncDwarfExpression.hpp",
"Source/PLCrashAsyncDwarfFDE.hpp",
"Source/PLCrashAsyncDwarfPrimitives.hpp",
"Source/PLCrashAsyncLinkedList.hpp",
"Source/PLCrashReport.proto"
],
sources: [
"Source",
"Dependencies/protobuf-c"
],
cSettings: [
.define("PLCR_PRIVATE"),
.define("PLCF_RELEASE_BUILD"),
.define("PLCRASHREPORTER_PREFIX", to: ""),
.define("SWIFT_PACKAGE"), // Should be defined by default, Xcode 11.1 workaround.
.headerSearchPath("Dependencies/protobuf-c")
],
linkerSettings: [
.linkedFramework("Foundation")
]
)
]
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quietbirds/plcrashreporter.git
git@gitee.com:quietbirds/plcrashreporter.git
quietbirds
plcrashreporter
plcrashreporter
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385