Skip to content

Commit

Permalink
Update dependencies and README.md (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub authored Sep 25, 2024
1 parent 2b61d1e commit d9d5de5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/pubnub/kmp-chat", revision: "910c9bd122ec408c577b78e96aff106c459926b9"),
.package(url: "https://github.com/pubnub/kmp-chat", exact: "0.8.0-dev"),
.package(url: "https://github.com/pubnub/swift", exact: "8.0.0")
],
targets: [
Expand Down
4 changes: 2 additions & 2 deletions PubNubSwiftChatSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/pubnub/kmp-chat";
requirement = {
kind = revision;
revision = 910c9bd122ec408c577b78e96aff106c459926b9;
kind = exactVersion;
version = "0.8.0-dev";
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down

This file was deleted.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ You will need the publish and subscribe keys to authenticate your app. Get your

### [Swift Package Manager](https://github.com/apple/swift-package-manager)

1. Create or open your project inside of Xcode
2. Navigate to File > Add Package Dependencies
3. Search for `https://github.com/pubnub/swift-chat-sdk` and hit the Add Package button
4. Use the `Commit` rule with `c25b98d7a6c4ee095e8dd72dcd9b1fc63ee8764b` and hit the Next button. This is the initial pre-1.0 version that is subject to change
1. Create or open your project inside Xcode.
2. Navigate to **File -> Add Package Dependencies**.
3. Search for `https://github.com/pubnub/swift-chat-sdk`
4. From the **Dependency Rule** drop-down list, select **Exact**. In the version input field, type `0.8.0-dev`
5. Click the **Add Package** button.

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)

Expand Down

0 comments on commit d9d5de5

Please sign in to comment.