diff --git a/Package.swift b/Package.swift index e3f0632..c5cd344 100644 --- a/Package.swift +++ b/Package.swift @@ -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: [ diff --git a/PubNubSwiftChatSDK.xcodeproj/project.pbxproj b/PubNubSwiftChatSDK.xcodeproj/project.pbxproj index bb56e36..112db67 100644 --- a/PubNubSwiftChatSDK.xcodeproj/project.pbxproj +++ b/PubNubSwiftChatSDK.xcodeproj/project.pbxproj @@ -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 */ diff --git a/PubNubSwiftChatSDK.xcworkspace/xcshareddata/swiftpm/Package.resolved b/PubNubSwiftChatSDK.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 7be2f71..0000000 --- a/PubNubSwiftChatSDK.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,23 +0,0 @@ -{ - "originHash" : "160b44fbed91415c985f7829e32c01b952bd76451638cfaf3ec3add33864981b", - "pins" : [ - { - "identity" : "kmp-chat", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pubnub/kmp-chat", - "state" : { - "revision" : "910c9bd122ec408c577b78e96aff106c459926b9" - } - }, - { - "identity" : "swift", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pubnub/swift", - "state" : { - "revision" : "7ec97085f008532fde807568409941badbc1e737", - "version" : "8.0.0" - } - } - ], - "version" : 3 -} diff --git a/README.md b/README.md index 032a6d7..252eebb 100644 --- a/README.md +++ b/README.md @@ -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)