-
Notifications
You must be signed in to change notification settings - Fork 22
/
Package.swift
56 lines (55 loc) · 2.13 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "TRTCKit",
platforms: [
.iOS(.v9)
],
products: [
.library(
name: "TRTC",
targets: ["TXLiteAVSDK_TRTC_SPM", "TXSoundTouch", "TXFFmpeg"]),
.library(
name: "TRTCReplayKitExt",
targets: ["TXLiteAVSDK_ReplayKitExt"]),
],
dependencies: [
],
targets: [
.binaryTarget(
name: "TXLiteAVSDK_TRTC",
url: "https://sdk-liteav-1252463788.cos.ap-hongkong.myqcloud.com/customer/HelperTest/SPM/TXLiteAVSDK_TRTC.xcframework.zip",
checksum: "48269bdbfa4b1c374f5016ed142962c848b7036578ad01f09331ff9a94208725"
),
.binaryTarget(
name: "TXSoundTouch",
url: "https://sdk-liteav-1252463788.cos.ap-hongkong.myqcloud.com/customer/HelperTest/SPM/TXSoundTouch.xcframework.zip",
checksum: "4870aebc2758afd0f0756db0f4baa478338c45dde6fa45cf2fd7a9b5c5b76ff5"
),
.binaryTarget(
name: "TXFFmpeg",
url: "https://sdk-liteav-1252463788.cos.ap-hongkong.myqcloud.com/customer/HelperTest/SPM/TXFFmpeg.xcframework.zip",
checksum: "a9cebf1f50587f9dca69d5ba61c9a2c20a6a80090369056365d2bead660a6e4e"
),
.binaryTarget(
name: "TXLiteAVSDK_ReplayKitExt",
url: "https://sdk-liteav-1252463788.cos.ap-hongkong.myqcloud.com/customer/HelperTest/SPM/TXLiteAVSDK_ReplayKitExt.xcframework.zip",
checksum: "1fa5402691bc4150c73d4535ec040ca54f2859af74af9ef8a80605a9b302284d"
),
.target(
name: "TXLiteAVSDK_TRTC_SPM",
dependencies: [
.target(name: "TXLiteAVSDK_TRTC")
],
sources: ["trtc_swift_package.swift"],
linkerSettings: [
.linkedFramework("SystemConfiguration"),
.linkedFramework("CoreTelephony"),
.linkedFramework("CoreServices"),
.linkedFramework("Accelerate"),
.linkedFramework("ReplayKit"),
.linkedLibrary("c++")
]
)
]
)