-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
44 lines (42 loc) · 1.51 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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CS_iOS_SDK",
platforms: [.iOS(.v12)],
products: [
.library(
name: "ContentsquareModule",
targets: ["ContentsquareModuleWrapper"]),
],
dependencies: [
.package(
name: "CSSwiftProtobuf",
url: "https://github.com/ContentSquare/CSSwiftProtobuf.git",
.exact("1.28.2")),
.package(
name: "CSCrashReporter",
url: "https://github.com/ContentSquare/CS_iOS_CrashReporter.git",
.exact("1.0.1")),
],
targets: [
// binaryTarget doesn't support dependency, use a wrapper to fix this.
.target(
name: "ContentsquareModuleWrapper",
dependencies: [
.target(name: "ContentsquareModule"),
"CSSwiftProtobuf",
"CSCrashReporter"
],
path: "ContentsquareModuleWrapper",
resources: [
.process("ContentsquareBundle.bundle"),
.copy("PrivacyInfo.xcprivacy")
]
),
.binaryTarget(
name: "ContentsquareModule",
url: "https://github.com/ContentSquare/CS_iOS_SDK_MOCK/releases/download/4.39.0/ContentsquareModuleSwiftPackage.xcframework.zip",
checksum: "d6da23ffb597f5804988e299592ad021d82008ab8a56e0f1240fffcc10e6eaa6"),
]
)