-
-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (29 loc) · 974 Bytes
/
Copy pathPackage.swift
File metadata and controls
31 lines (29 loc) · 974 Bytes
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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "RealtimeAPI",
platforms: [
.iOS(.v17),
.tvOS(.v17),
.macOS(.v14),
.visionOS(.v1),
.macCatalyst(.v17),
],
products: [
.library(name: "RealtimeAPI", targets: ["RealtimeAPI"]),
],
dependencies: [
.package(url: "https://github.com/livekit/webrtc-xcframework.git", branch: "main"),
.package(url: "https://github.com/SwiftyLab/MetaCodable.git", .upToNextMajor(from: "1.0.0")),
],
targets: [
.target(name: "Core", dependencies: [
.product(name: "MetaCodable", package: "MetaCodable"),
.product(name: "HelperCoders", package: "MetaCodable"),
]),
.target(name: "WebSocket", dependencies: ["Core"]),
.target(name: "UI", dependencies: ["Core", "WebRTC"]),
.target(name: "RealtimeAPI", dependencies: ["Core", "WebSocket", "WebRTC", "UI"]),
.target(name: "WebRTC", dependencies: ["Core", .product(name: "LiveKitWebRTC", package: "webrtc-xcframework")]),
]
)