You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If you want to use a local build, comment out this reference and update the other.
36
+
// See docs/LocalBuild.md
37
+
.binaryTarget(
38
+
name:"PowerSyncKotlin",
39
+
// TODO: Use GitHub release once https://github.com/powersync-ja/powersync-kotlin/releases/tag/untagged-fde4386dec502ec27067 is published
* To run using the local kotlin build you need to apply the following change in the `Package.swift` file:
5
+
Especially when working on the Kotlin SDK, it may be helpful to test your local changes
6
+
with the Swift SDK too.
7
+
To do this, first create an XCFramework from your Kotlin checkout:
6
8
7
-
```swift
8
-
dependencies: [
9
-
.package(url: "https://github.com/powersync-ja/powersync-kotlin.git", exact: "x.y.z"), <-- Comment this
10
-
// .package(path: "../powersync-kotlin"), <-- Include this line and put in the path to you powersync-kotlin repo
11
-
```
12
-
* To quickly make a local build to apply changes you made in `powersync-kotlin` for local development in the Swift SDK run the gradle task `spmDevBuild` in `PowerSyncKotlin` in the `powersync-kotlin` repo. This will update the files and the changes will be reflected in the Swift SDK.
0 commit comments