-
-
Notifications
You must be signed in to change notification settings - Fork 872
/
Package.swift
132 lines (130 loc) · 7.15 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "ParseObjC",
defaultLocalization: "en",
platforms: [
.iOS(.v12),
.macOS(.v10_15),
.tvOS(.v12),
.watchOS(.v2)
],
products: [
.library(name: "ParseObjC", targets: ["ParseCore"]),
.library(name: "ParseLiveQuery", targets: ["ParseLiveQuery"])
],
dependencies: [
.package(url: "https://github.com/parse-community/Bolts-ObjC.git", from: "1.10.0"),
.package(url: "https://github.com/BoltsFramework/Bolts-Swift.git", from: "1.5.0"),
.package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.8"),
.package(name: "OCMock", url: "https://github.com/erikdoe/ocmock.git", .revision("2c0bfd373289f4a7716db5d6db471640f91a6507"))
],
targets: [
.target(
name: "ParseCore",
dependencies: [.product(name: "Bolts", package: "Bolts-ObjC")],
path: "Parse/Parse",
exclude: ["Resources/Parse-tvOS.Info.plist", "Resources/Parse-iOS.Info.plist", "Resources/Parse-OSX.Info.plist", "Resources/Parse-watchOS.Info.plist"],
resources: [.process("Resources")],
publicHeadersPath: "Source",
cSettings: [
.headerSearchPath("Internal"),
.headerSearchPath("Internal/ACL"),
.headerSearchPath("Internal/ACL/DefaultACLController"),
.headerSearchPath("Internal/ACL/State"),
.headerSearchPath("Internal/Analytics"),
.headerSearchPath("Internal/Analytics/Controller"),
.headerSearchPath("Internal/Analytics/Utilities"),
.headerSearchPath("Internal/CloudCode"),
.headerSearchPath("Internal/Commands"),
.headerSearchPath("Internal/Commands/CommandRunner"),
.headerSearchPath("Internal/Commands/CommandRunner/URLRequestConstructor"),
.headerSearchPath("Internal/Commands/CommandRunner/URLSession"),
.headerSearchPath("Internal/Commands/CommandRunner/URLSession/Session"),
.headerSearchPath("Internal/Commands/CommandRunner/URLSession/Session/TaskDelegate"),
.headerSearchPath("Internal/Config"),
.headerSearchPath("Internal/Config/Controller"),
.headerSearchPath("Internal/FieldOperation"),
.headerSearchPath("Internal/File"),
.headerSearchPath("Internal/File/Controller"),
.headerSearchPath("Internal/File/FileDataStream"),
.headerSearchPath("Internal/File/State"),
.headerSearchPath("Internal/HTTPRequest"),
.headerSearchPath("Internal/Installation"),
.headerSearchPath("Internal/Installation/Constants"),
.headerSearchPath("Internal/Installation/Controller"),
.headerSearchPath("Internal/Installation/CurrentInstallationController"),
.headerSearchPath("Internal/Installation/InstallationIdentifierStore"),
.headerSearchPath("Internal/KeyValueCache"),
.headerSearchPath("Internal/LocalDataStore"),
.headerSearchPath("Internal/LocalDataStore/OfflineQueryLogic"),
.headerSearchPath("Internal/LocalDataStore/OfflineStore"),
.headerSearchPath("Internal/LocalDataStore/Pin"),
.headerSearchPath("Internal/LocalDataStore/SQLite"),
.headerSearchPath("Internal/MultiProcessLock"),
.headerSearchPath("Internal/Object"),
.headerSearchPath("Internal/Object/BatchController"),
.headerSearchPath("Internal/Object/Coder"),
.headerSearchPath("Internal/Object/Coder/File"),
.headerSearchPath("Internal/Object/Constants"),
.headerSearchPath("Internal/Object/Controller"),
.headerSearchPath("Internal/Object/Controller/OfflineController"),
.headerSearchPath("Internal/Object/CurrentController"),
.headerSearchPath("Internal/Object/EstimatedData"),
.headerSearchPath("Internal/Object/FilePersistence"),
.headerSearchPath("Internal/Object/LocalIdStore"),
.headerSearchPath("Internal/Object/OperationSet"),
.headerSearchPath("Internal/Object/PinningStore"),
.headerSearchPath("Internal/Object/State"),
.headerSearchPath("Internal/Object/Subclassing"),
.headerSearchPath("Internal/Object/Utilities"),
.headerSearchPath("Internal/Persistence"),
.headerSearchPath("Internal/Persistence/Group"),
.headerSearchPath("Internal/Product"),
.headerSearchPath("Internal/Product/ProductsRequestHandler"),
.headerSearchPath("Internal/PropertyInfo"),
.headerSearchPath("Internal/Purchase"),
.headerSearchPath("Internal/Purchase/Controller"),
.headerSearchPath("Internal/Purchase/PaymentTransactionObserver"),
.headerSearchPath("Internal/Push"),
.headerSearchPath("Internal/Push/ChannelsController"),
.headerSearchPath("Internal/Push/Controller"),
.headerSearchPath("Internal/Push/Manager"),
.headerSearchPath("Internal/Push/State"),
.headerSearchPath("Internal/Push/Utilites"),
.headerSearchPath("Internal/Query"),
.headerSearchPath("Internal/Query/Controller"),
.headerSearchPath("Internal/Query/State"),
.headerSearchPath("Internal/Query/Utilities"),
.headerSearchPath("Internal/Relation"),
.headerSearchPath("Internal/Relation/State"),
.headerSearchPath("Internal/Session"),
.headerSearchPath("Internal/Session/Controller"),
.headerSearchPath("Internal/Session/Utilities"),
.headerSearchPath("Internal/ThreadSafety"),
.headerSearchPath("Internal/User"),
.headerSearchPath("Internal/User/AuthenticationProviders"),
.headerSearchPath("Internal/User/AuthenticationProviders/Controller"),
.headerSearchPath("Internal/User/AuthenticationProviders/Providers"),
.headerSearchPath("Internal/User/AuthenticationProviders/Providers/Anonymous"),
.headerSearchPath("Internal/User/Coder"),
.headerSearchPath("Internal/User/Coder/File"),
.headerSearchPath("Internal/User/Constants"),
.headerSearchPath("Internal/User/Controller"),
.headerSearchPath("Internal/User/CurrentUserController"),
.headerSearchPath("Internal/User/State"),
]
),
.target(
name: "ParseLiveQuery",
dependencies: [
.product(name: "BoltsSwift", package: "Bolts-Swift"),
"Starscream",
"ParseCore"
],
path: "ParseLiveQuery/ParseLiveQuery",
exclude: ["Resources/Info.plist"],
resources: [.process("Resources")]
)
]
)