forked from livekit/client-sdk-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
38 lines (36 loc) · 1.28 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
// 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: "LiveKit",
platforms: [
.iOS(.v13),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "LiveKit",
targets: ["LiveKit"]
),
],
dependencies: [
.package(name: "WebRTC", url: "https://github.com/livekit/WebRTC-swift.git", .exact("2.91.0")),
.package(name: "SwiftProtobuf", url: "https://github.com/apple/swift-protobuf.git", .upToNextMajor(from: "1.15.0")),
.package(name: "Promises", url: "https://github.com/google/promises.git", .upToNextMajor(from: "1.2.12")),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMajor(from: "1.4.2")),
],
targets: [
.target(
name: "LiveKit",
dependencies: [
"WebRTC", "SwiftProtobuf", "Promises",
.product(name: "Logging", package: "swift-log"),
],
path: "Sources"
),
.testTarget(
name: "LiveKitTests",
dependencies: ["LiveKit"]
),
]
)