We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad5b64 commit 4478f70Copy full SHA for 4478f70
README.md
@@ -29,10 +29,24 @@ The easiest way to test the PowerSync Swift SDK is to run our demo application.
29
Add
30
31
```swift
32
-.package(url: "https://github.com/powersync-ja/powersync-swift", exact: "<version>")
+ dependencies: [
33
+ ...
34
+ .package(url: "https://github.com/powersync-ja/powersync-swift", exact: "<version>")
35
+ ],
36
+ targets: [
37
+ .target(
38
+ name: "YourTargetName",
39
40
41
+ .product(
42
+ name: "PowerSync",
43
+ package: "powersync-swift"
44
+ ),
45
+ ]
46
+ )
47
48
```
49
-
50
to your `Package.swift` file and pin the dependency to a specific version. This is required because the package is in beta.
51
52
## Underlying Kotlin Dependency
0 commit comments