forked from 100mslive/100ms-roomkit-models-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
68 lines (66 loc) · 3.08 KB
/
Package.swift
File metadata and controls
68 lines (66 loc) · 3.08 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
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "HMSRoomModels",
platforms: [.iOS(.v15)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "HMSRoomModels",
targets: ["HMSRoomModels"]),
.library(
name: "HMSSDK",
targets: ["HMSSDK"]),
.library(
name: "HMSAnalyticsSDK",
targets: ["HMSAnalyticsSDK"]),
.library(
name: "HMSHLSPlayerSDK",
targets: ["HMSHLSPlayerSDK"]),
.library(
name: "HMSBroadcastExtensionSDK",
targets: ["HMSBroadcastExtensionSDK"]),
.library(
name: "HMSWebRTC",
targets: ["HMSWebRTC"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/auth0/JWTDecode.swift", from: "3.1.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "HMSRoomModels",
dependencies: [.product(name: "JWTDecode", package: "JWTDecode.swift"), .byName(name: "HMSHLSPlayerSDK"), .byName(name: "HMSSDK"), .byName(name: "HMSAnalyticsSDK"), .byName(name: "HMSWebRTC"), .byName(name: "HMSBroadcastExtensionSDK")]
),
.binaryTarget(
name: "HMSSDK",
url: "https://github.com/100mslive/100ms-ios-sdk/releases/download/1.17.1/HMSSDK.xcframework.zip",
checksum: "3f24797f5e49e53d4cbe807e4a59ebcbaf2676a701e99f0cc11ca67e2c4edfae"
),
.binaryTarget(
name: "HMSAnalyticsSDK",
url: "https://github.com/100mslive/100ms-ios-analytics-sdk/releases/download/0.0.2/HMSAnalyticsSDK.xcframework.zip",
checksum: "40229908576cac8afab7f9ba8b3bd9b1408f97f7bff63f83dca5b4f60f4378f0"
),
.binaryTarget(
name: "HMSHLSPlayerSDK",
url: "https://github.com/100mslive/100ms-ios-hls-sdk/releases/download/0.0.2/HMSHLSPlayerSDK.xcframework.zip",
checksum: "470932129c8dd358ebbe748bc1e05739f33c642779513fee17e42a117329dce2"
),
.binaryTarget(
name: "HMSWebRTC",
url: "https://github.com/100mslive/webrtc-ios/releases/download/1.0.6174/HMSWebRTC.xcframework.zip",
checksum: "0df3b959a283b44e92cbb5a90d1734f5b8f9768ae972228a727067e0df58d5d1"
),
.binaryTarget(
name: "HMSBroadcastExtensionSDK",
url: "https://github.com/100mslive/100ms-ios-broadcast-sdk/releases/download/1.0.1/HMSBroadcastExtensionSDK.xcframework.zip",
checksum: "0f50f8e8b3ba24ea7a7271480e04b653c57970c7126d9704f646180f5856d937"
),
]
)