-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
49 lines (47 loc) · 1.89 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
// swift-tools-version:5.6
import Foundation
import PackageDescription
let package = Package(
name: "StreamVideo",
defaultLocalization: "en",
platforms: [
.iOS(.v13), .macOS(.v11)
],
products: [
.library(
name: "StreamVideo",
targets: ["StreamVideoWrapper"]
),
.library(
name: "StreamVideoSwiftUI",
targets: ["StreamVideoSwiftUI"]
),
.library(
name: "StreamVideoUIKit",
targets: ["StreamVideoUIKit"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0"),
.package(url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "125.6422.065")
],
targets: [
.target(
name: "StreamVideoWrapper",
dependencies: [
.target(name: "StreamVideo"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "StreamWebRTC", package: "stream-video-swift-webrtc")
]
),
.binaryTarget(name: "StreamVideo",
url: "https://github.com/GetStream/stream-video-swift/releases/download/1.21.1/StreamVideo.zip",
checksum: "fdfaedcfae87a70c2b9a536292252e4433a6a0f052e6b1b34c534dc1f93ab1e7"),
.binaryTarget(name: "StreamVideoSwiftUI",
url: "https://github.com/GetStream/stream-video-swift/releases/download/1.21.1/StreamVideoSwiftUI.zip",
checksum: "efcf5cb45f1e30def0d505fa8b3834ad90b7f1c6703869254b0fb73c40807a23"),
.binaryTarget(name: "StreamVideoUIKit",
url: "https://github.com/GetStream/stream-video-swift/releases/download/1.21.1/StreamVideoUIKit.zip",
checksum: "f8fd5344c16a58b9f16fab5413760cbc32266ad043f02ca2159d42bcf353a073")
]
)