-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift.bak
More file actions
executable file
·80 lines (76 loc) · 3.21 KB
/
Package.swift.bak
File metadata and controls
executable file
·80 lines (76 loc) · 3.21 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// swift-tools-version: 6.0.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Live_SwiftPM",
platforms: [
.iOS(.v12)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Live_SwiftPM",
targets: ["Live_SwiftPM"]),
.library(
name: "TXLiteAVSDK_ReplayKit",
targets: ["TXLiteAVSDK_ReplayKitExt"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.binaryTarget(
name: "TXLiteAVSDK_Live",
url: "https://liteav.sdk.qcloud.com/download/spm/13.2/live/TXLiteAVSDK_Live.xcframework.zip",
checksum: "4dbd0c62443c7098101578d50e3c644edfdf521b0fee3c030680c0891e913a06"
),
.binaryTarget(
name: "TXFFmpeg",
url: "https://liteav.sdk.qcloud.com/download/spm/13.2/live/TXFFmpeg.xcframework.zip",
checksum: "b0e583ad515598d33f6d211c9cbaa5958b2baee1871d14ee7a6eb06e995c682b"
),
.binaryTarget(
name: "TXLiteAVSDK_ReplayKitExt",
url: "https://liteav.sdk.qcloud.com/download/spm/13.2/live/TXLiteAVSDK_ReplayKitExt.xcframework.zip",
checksum: "aad7d60279973f0251414d7ccf5e319dc855e3f76012c55b405ca49eacbeb37c"
),
.binaryTarget(
name: "TXSoundTouch",
url: "https://liteav.sdk.qcloud.com/download/spm/13.1/live/TXSoundTouch.xcframework.zip",
checksum: "a9f9da23dd8e0f539dffe7b27eb1cd8469602dff0848b3c9a70850a5a7f24376"
),.target(
name: "Live_SwiftPM",
dependencies: [
.target(name: "TXLiteAVSDK_Live"),
.target(name: "TXFFmpeg"),
.target(name: "TXSoundTouch")
],
sources: ["Live_SwiftPM.swift"],
linkerSettings: [
.linkedFramework("ReplayKit"),
.linkedFramework("VideoToolbox"),
.linkedFramework("AVKit"),
.linkedFramework("GLKit"),
.linkedFramework("AssetsLibrary"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("CoreTelephony"),
.linkedFramework("AVFoundation"),
.linkedFramework("CoreMotion"),
.linkedFramework("OpenGLES"),
.linkedFramework("Accelerate"),
.linkedFramework("MetalKit"),
.linkedFramework("MobileCoreServices"),
.linkedFramework("CoreMedia"),
.linkedFramework("MetalPerformanceShaders"),
.linkedLibrary("sqlite3.0"),
.linkedLibrary("c++"),
.linkedLibrary("resolv")
]
),.target(
name: "TXLiteAVSDK_ReplayKit",
dependencies: [
.target(name: "TXLiteAVSDK_ReplayKitExt")
],
sources: ["TXLiteAVSDK_ReplayKitExt.swift"]
)
]
)