-
Notifications
You must be signed in to change notification settings - Fork 11
/
Package.swift
54 lines (52 loc) · 1.83 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
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "AgoraUIKit_iOS",
platforms: [.iOS(.v13)],
products: [
.library(name: "AgoraUIKit", targets: ["AgoraUIKit", "AgoraRtmControl"]),
.library(name: "AgoraAppGroupDataHelper", targets: ["AgoraAppGroupDataHelper"]),
.library(name: "AgoraBroadcastExtensionHelper", targets: ["AgoraBroadcastExtensionHelper"])
],
dependencies: [
.package(
name: "AgoraRtcKit",
url: "https://github.com/AgoraIO/AgoraRtcEngine_iOS",
.upToNextMinor(from: Version(4, 2, 0))
),
.package(
name: "AgoraRtmKit",
url: "https://github.com/AgoraIO/AgoraRtm_iOS",
.upToNextMinor(from: Version(1, 5, 1))
)
],
targets: [
.target(
name: "AgoraUIKit",
dependencies: [
.product(name: "RtcBasic", package: "AgoraRtcKit"), "AgoraRtmControl"
],
path: "Sources/Agora-Video-UIKit"
),
.target(
name: "AgoraBroadcastExtensionHelper",
dependencies: [.product(name: "RtcBasic", package: "AgoraRtcKit"), "AgoraAppGroupDataHelper"],
path: "Sources/AgoraBroadcastExtensionHelper"
),
.target(
name: "AgoraAppGroupDataHelper",
dependencies: [],
path: "Sources/AgoraAppGroupDataHelper"
),
.target(
name: "AgoraRtmControl",
dependencies: ["AgoraRtmKit"],
path: "Sources/AgoraRtmControl"
),
.testTarget(
name: "AgoraUIKit-Tests", dependencies: ["AgoraUIKit", "AgoraRtmControl"],
path: "Tests/Agora-UIKit-Tests"
)
]
)