-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
40 lines (38 loc) · 1.33 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
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwarmCloudKit",
platforms: [.macOS(.v10_15),
.iOS(.v13),
.tvOS(.v13)],
products: [
.library(
name: "SwarmCloudKit",
targets: ["SwarmCloudKitWrapper"]
)
],
targets: [
.target(
name: "SwarmCloudKitWrapper",
dependencies: [
.target(name: "SwarmCloudKit"),
.target(name: "datachannel_wrapper")
],
path: "SwarmCloudKitWrapper"
),
.binaryTarget(
name: "SwarmCloudKit",
// path: "./SwarmCloudKit.xcframework"
url: "https://web3lab.b-cdn.net/apple/3.3.2/SwarmCloudKit.xcframework.zip",
checksum: "9ed10f7a6ace9f2a80f3ef2a702a726f25caf13a5e2cdf455f05e1d0afcdeb96"
),
.binaryTarget(
name: "datachannel_wrapper",
// path: "./datachannel_wrapper.xcframework"
url: "https://web3lab.b-cdn.net/apple/libDC/1.0.2113/datachannel_wrapper.xcframework.zip",
checksum: "f5f26fe10c9d13beb3c34271f43f324c86794dde9fedf92b9319a3202c7696e8"
)
],
swiftLanguageVersions: [.v5]
)