Skip to content

Commit c4970ab

Browse files
committed
Update README.md
1 parent 70a2eb2 commit c4970ab

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ You have several options to set up your project. We provide instructions here fo
4040
### [Swift Package Manager](https://github.com/apple/swift-package-manager)
4141

4242
1. Create or open your project inside of Xcode
43-
1. Navigate to File > Swift Packages > Add Package Dependency
44-
1. Search for PubNub and select the swift package owned by pubnub, and hit the Next button
45-
1. Use the `Up to Next Major Version` rule spanning from `8.0.0` < `9.0.0`, and hit the Next button
43+
2. Navigate to File > Add Package Dependencies
44+
3. Enter the package URL: `https://github.com/pubnub/swift.git`
45+
4. Use the `Up to Next Major Version` rule spanning from `9.0.0` < `10.0.0`
46+
5. Click `Add Package`
47+
6. From the list of package products, assign `PubNubSDK` to your target application
4648

4749
For more information see Apple's guide on [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app)
4850

@@ -53,7 +55,7 @@ For more information see Apple's guide on [Adding Package Dependencies to Your A
5355
use_frameworks!
5456

5557
target 'YOUR_TARGET_NAME' do
56-
pod 'PubNubSwift', '~> 8.0'
58+
pod 'PubNubSwift', '~> 9.0'
5759
end
5860
```
5961

@@ -72,7 +74,7 @@ Officially supported: Carthage 0.39.1 and up.
7274
Add the following to `Cartfile`:
7375

7476
```ruby
75-
github "pubnub/swift" ~> 8.0
77+
github "pubnub/swift" ~> 9.0
7678
```
7779

7880
Then in the directory containing your `Cartfile`, execute the following:

0 commit comments

Comments
 (0)