-
Notifications
You must be signed in to change notification settings - Fork 25
/
Package.swift
53 lines (50 loc) · 1.7 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
// swift-tools-version:5.3.0
import PackageDescription
let package = Package(
name: "ably-cocoa",
platforms: [
.macOS(.v10_11),
.iOS(.v9),
.tvOS(.v10)
],
products: [
.library(
name: "Ably",
targets: ["Ably"]
),
],
dependencies: [
.package(name: "msgpack", url: "https://github.com/rvi/msgpack-objective-C", from: "0.4.0"),
.package(name: "AblyDeltaCodec", url: "https://github.com/ably/delta-codec-cocoa", from: "1.3.3")
],
targets: [
.target(
name: "Ably",
dependencies: [
.byName(name: "msgpack"),
.byName(name: "AblyDeltaCodec")
],
path: "Source",
exclude: [
"Info-iOS.plist",
"Info-tvOS.plist",
"Info-macOS.plist"
],
resources: [.copy("PrivacyInfo.xcprivacy")],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("PrivateHeaders"),
.headerSearchPath("PrivateHeaders/Ably"),
.headerSearchPath("include/Ably"),
.headerSearchPath("SocketRocket"),
.headerSearchPath("SocketRocket/Internal"),
.headerSearchPath("SocketRocket/Internal/Security"),
.headerSearchPath("SocketRocket/Internal/Proxy"),
.headerSearchPath("SocketRocket/Internal/Utilities"),
.headerSearchPath("SocketRocket/Internal/RunLoop"),
.headerSearchPath("SocketRocket/Internal/Delegate"),
.headerSearchPath("SocketRocket/Internal/IOConsumer"),
]
)
]
)