-
Notifications
You must be signed in to change notification settings - Fork 100
/
Package.swift
59 lines (57 loc) · 1.75 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
57
58
59
// swift-tools-version:5.7
// (Xcode14.0+)
import PackageDescription
let package = Package(
name: "LiveKit",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.macCatalyst(.v14),
],
products: [
.library(
name: "LiveKit",
targets: ["LiveKit"]
),
],
dependencies: [
// LK-Prefixed Dynamic WebRTC XCFramework
.package(url: "https://github.com/livekit/webrtc-xcframework.git", exact: "125.6422.11"),
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.26.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
// Only used for DocC generation
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0"),
// Only used for Testing
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.13.4"),
],
targets: [
.target(
name: "LiveKit",
dependencies: [
.product(name: "LiveKitWebRTC", package: "webrtc-xcframework"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "Logging", package: "swift-log"),
],
resources: [
.process("PrivacyInfo.xcprivacy"),
]
),
.testTarget(
name: "LiveKitTests",
dependencies: [
"LiveKit",
.product(name: "JWTKit", package: "jwt-kit"),
]
),
.testTarget(
name: "LiveKitTestsObjC",
dependencies: [
"LiveKit",
.product(name: "JWTKit", package: "jwt-kit"),
]
),
],
swiftLanguageVersions: [
.v5,
]
)