Skip to content

Commit

Permalink
docs: improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Dec 11, 2024
1 parent 9ad5b64 commit 4478f70
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,24 @@ The easiest way to test the PowerSync Swift SDK is to run our demo application.
Add

```swift
.package(url: "https://github.com/powersync-ja/powersync-swift", exact: "<version>")
dependencies: [
...
.package(url: "https://github.com/powersync-ja/powersync-swift", exact: "<version>")
],
targets: [
.target(
name: "YourTargetName",
dependencies: [
...
.product(
name: "PowerSync",
package: "powersync-swift"
),
]
)
]
```


to your `Package.swift` file and pin the dependency to a specific version. This is required because the package is in beta.

## Underlying Kotlin Dependency
Expand Down

0 comments on commit 4478f70

Please sign in to comment.