Skip to content

Commit c9b8184

Browse files
committed
Add Package.swift
1 parent 56730d8 commit c9b8184

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

PowerSyncKotlin/Package.swift

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// swift-tools-version: 5.7
2+
3+
// NOTE! This is never released, we're only using this to support local Kotlin SDK builds for the
4+
// Swift SDK.
5+
import PackageDescription
6+
let packageName = "PowerSyncKotlin"
7+
8+
let package = Package(
9+
name: packageName,
10+
platforms: [
11+
.iOS(.v13),
12+
.macOS(.v10_15)
13+
],
14+
products: [
15+
.library(
16+
name: packageName,
17+
targets: [packageName]),
18+
],
19+
targets: [
20+
.binaryTarget(
21+
name: packageName,
22+
path: "build/XCFrameworks/debug/PowerSyncKotlin.xcframework"
23+
)
24+
]
25+
)

0 commit comments

Comments
 (0)