forked from splitio/ios-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift.template
40 lines (38 loc) · 1.03 KB
/
Package.swift.template
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Split",
platforms: [.iOS(.v9)],
products: [
.library(
name: "Split",
targets: ["Split", "SplitXcFramework"])
],
dependencies: [
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.5.0")
],
targets: [
.target(
name: "Split",
dependencies: ["JFBCrypt"],
path: "Split",
exclude: [
"Common/Utils/JFBCrypt/",
"Common/Yaml/LICENSE",
"Info.plist",
"Split.h",
"Common/Utils/framework/HashHelper.swift"
]
),
.binaryTarget(
name: "SplitXcFramework",
url: "SPLIT-XCFRAMEWORK-URL",
checksum: "SPLIT-XCFRAMEWORK-CHECKSUM"
),
.target(
name: "JFBCrypt",
path: "Split/Common/Utils/JFBCrypt",
publicHeadersPath: "."
)
]
)