forked from GetStream/stream-video-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
47 lines (45 loc) · 1.43 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
// 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: ["StreamVideo"]
),
.library(
name: "StreamVideoSwiftUI",
targets: ["StreamVideoSwiftUI"]
),
.library(
name: "StreamVideoUIKit",
targets: ["StreamVideoUIKit"]
)
],
dependencies: [
.package(name: "WebRTC", url: "https://github.com/webrtc-sdk/Specs.git", .exact("114.5735.2")),
.package(url: "https://github.com/kean/Nuke.git", .exact("11.3.1")),
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.18.0")
],
targets: [
.target(
name: "StreamVideo",
dependencies: ["WebRTC", .product(name: "SwiftProtobuf", package: "swift-protobuf")]
),
.target(
name: "StreamVideoSwiftUI",
dependencies: ["StreamVideo", "Nuke", .product(name: "NukeUI", package: "Nuke")],
resources: [.process("Resources")]
),
.target(
name: "StreamVideoUIKit",
dependencies: ["StreamVideo", "StreamVideoSwiftUI", "Nuke", .product(name: "NukeUI", package: "Nuke")],
resources: [.process("Resources")]
)
]
)