Skip to content

Commit 592d6ce

Browse files
chore: fixed wrong update; added explanation reference about adding packages
1 parent 61e2f01 commit 592d6ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,16 @@
6969
### Swift Package (Recommended)
7070
The [Swift Package Manager](https://swift.org/package-manager/ "") is a tool for automating the distribution of Swift code that is well integrated with Swift build system.
7171

72-
Once you have your Swift project set up, adding `web3swift` as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
72+
Once you have your Swift package set up, adding `web3swift` as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
7373
```swift
7474
dependencies: [
7575
.package(url: "https://github.com/web3swift-team/web3swift.git", .upToNextMajor(from: "3.0.0"))
7676
]
7777
```
7878

79+
Or if your project is not a package follow these guidelines on [how to add a Swift Package to your Xcode project](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app).
80+
81+
7982
## Example usage
8083
In the imports section:
8184

0 commit comments

Comments
 (0)