Skip to content

Commit 728209a

Browse files
authored
chore(REAEME): update Swift Package Manager note (#404)
1 parent 1b579a8 commit 728209a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ up an Optimizely X project and start using the SDK.
2929
Please note below that _\<platform\>_ is used to represent the platform on which you are building your app. Currently, we support ```iOS```, ```tvOS```, and ```watchOS``` platforms.
3030

3131
#### Swift Package Manager
32-
Add the following line to the dependencies value of your _Package.swift_:
32+
Add the dependency on the Optimizely Swift SDK with Swift Package Manager in `Xcode`
3333

34-
```
35-
dependencies: [
36-
.package(url: "https://github.com/optimizely/swift-sdk.git",
37-
.upToNextMinor(from: “3.7.1”))
38-
]
39-
```
34+
1. `File` -> `Swift Packages` -> `Add Package Dependency`
35+
2. Enter `https://github.com/optimizely/swift-sdk`.
36+
3. Accept the default rules (`Version: 'Up to Next Major'`).
4037

4138
#### CocoaPods
4239
1. Add the following lines to the _Podfile_:<pre>

0 commit comments

Comments
 (0)