-
Notifications
You must be signed in to change notification settings - Fork 130
/
Copy pathPackage.swift
62 lines (61 loc) · 2.13 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Bugsnag",
platforms: [
.macOS(.v10_11),
.tvOS("9.2"),
.iOS("9.0"),
.watchOS("6.3"),
],
products: [
.library(name: "Bugsnag", targets: ["Bugsnag"]),
.library(name: "BugsnagNetworkRequestPlugin", targets: ["BugsnagNetworkRequestPlugin"]),
],
dependencies: [],
targets: [
.target(
name: "Bugsnag",
dependencies: [],
path: "Bugsnag",
resources: [
.process("resources/PrivacyInfo.xcprivacy")
],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("."),
.headerSearchPath("Breadcrumbs"),
.headerSearchPath("Client"),
.headerSearchPath("Configuration"),
.headerSearchPath("Delivery"),
.headerSearchPath("Helpers"),
.headerSearchPath("include/Bugsnag"),
.headerSearchPath("KSCrash"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording/Sentry"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording/Tools"),
.headerSearchPath("KSCrash/Source/KSCrash/Reporting/Filters"),
.headerSearchPath("Metadata"),
.headerSearchPath("Payload"),
.headerSearchPath("Plugins"),
.headerSearchPath("Storage"),
],
linkerSettings: [
.linkedLibrary("z"),
.linkedLibrary("c++"),
]
),
.target(
name: "BugsnagNetworkRequestPlugin",
dependencies: ["Bugsnag"],
path: "BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin",
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("."),
.headerSearchPath("include/BugsnagNetworkRequestPlugin"),
]
),
],
cLanguageStandard: .gnu11,
cxxLanguageStandard: .gnucxx14
)