Skip to content

Commit a72a286

Browse files
committed
Add minimal Package.swift
1 parent f4a3cec commit a72a286

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

livekit-uniffi/Package.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version:6.0
2+
// (Xcode16.0+)
3+
4+
// For local testing, run ./swift.sh to generate the xcframework
5+
6+
import PackageDescription
7+
8+
let package = Package(
9+
name: "LiveKitFFI",
10+
platforms: [
11+
.iOS(.v13),
12+
.macOS(.v10_15),
13+
.macCatalyst(.v14),
14+
.visionOS(.v2),
15+
.tvOS(.v17),
16+
],
17+
products: [
18+
.library(
19+
name: "LiveKitFFI",
20+
targets: ["LiveKitFFI"]
21+
)
22+
],
23+
targets: [
24+
.binaryTarget(
25+
name: "LiveKitFFIBinary",
26+
path: "../target/LiveKitFFI.xcframework"
27+
),
28+
.target(
29+
name: "LiveKitFFI",
30+
dependencies: ["LiveKitFFIBinary"],
31+
path: "generated/swift",
32+
sources: ["livekit_uniffi.swift"],
33+
publicHeadersPath: "."
34+
)
35+
]
36+
)

0 commit comments

Comments
 (0)