代码拉取完成,页面将自动刷新
// 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")
]
)
]
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。