Skip to content

Commit 01c0604

Browse files
committed
Add swift package for overrides
1 parent 3a35dea commit 01c0604

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ target/
99
*.tar.gz
1010
*.tar.xz
1111
*.zip
12+
.build

Package.swift

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

0 commit comments

Comments
 (0)