diff --git a/.pubnub.yml b/.pubnub.yml index 5b541d8f..2e906eff 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -697,7 +697,7 @@ sdks: minimum-os-version: - macOS 10.15 maximum-os-version: - - macOS 15.0.1 + - macOS 15.5 target-architecture: - arm64 - x86_64 @@ -707,7 +707,7 @@ sdks: minimum-os-version: - iOS 12.0 maximum-os-version: - - iOS 18.0.1 + - iOS 18.5 target-architecture: - arm64 target-devices: @@ -719,7 +719,7 @@ sdks: minimum-os-version: - tvOS 12.0 maximum-os-version: - - tvOS 18.0 + - tvOS 18.5 target-architecture: - arm64 target-devices: @@ -730,7 +730,7 @@ sdks: minimum-os-version: - watchOS 4.0 maximum-os-version: - - watchOS 12.0 + - watchOS 11.5 target-architecture: - arm64 - armv7k @@ -758,7 +758,7 @@ sdks: minimum-os-version: - macOS 10.15 maximum-os-version: - - macOS 15.0.1 + - macOS 15.5 target-architecture: - arm64 - x86_64 @@ -768,7 +768,7 @@ sdks: minimum-os-version: - iOS 12.0 maximum-os-version: - - iOS 18.0.1 + - iOS 18.5 target-architecture: - arm64 target-devices: @@ -780,7 +780,7 @@ sdks: minimum-os-version: - tvOS 12.0 maximum-os-version: - - tvOS 18.0 + - tvOS 18.5 target-architecture: - arm64 target-devices: @@ -791,7 +791,7 @@ sdks: minimum-os-version: - watchOS 4.0 maximum-os-version: - - watchOS 12.0 + - watchOS 11.5 target-architecture: - armv7k - arm64_32 @@ -810,7 +810,7 @@ sdks: minimum-os-version: - macOS 10.15 maximum-os-version: - - macOS 15.0.1 + - macOS 15.5 target-architecture: - arm64 - x86_64 @@ -818,9 +818,9 @@ sdks: runtime-version: - Swift 5.x minimum-os-version: - - iOS 14.0 + - iOS 12.0 maximum-os-version: - - iOS 18.0.1 + - iOS 18.5 target-architecture: - arm64 - armv7 @@ -833,7 +833,7 @@ sdks: minimum-os-version: - tvOS 12.0 maximum-os-version: - - tvOS 18.0 + - tvOS 18.5 target-architecture: - arm64 target-devices: @@ -844,7 +844,7 @@ sdks: minimum-os-version: - watchOS 4.0 maximum-os-version: - - watchOS 12.0 + - watchOS 11.5 target-architecture: - armv7k - arm64_32 @@ -854,7 +854,7 @@ sdks: supported-platforms: - version: PubNub Swift SDK platforms: - - iOS 14.0 or higher + - iOS 12.0 or higher - macOS 10.15 or higher - tvOS 12.0 or higher - watchOS 4.0 or higher diff --git a/README.md b/README.md index e7ab97cc..38d2b916 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PubNub Swift SDK -[![Platform](https://img.shields.io/cocoapods/p/PubNubSwift.svg?style=flat)](https://img.shields.io/cocoapods/p/PubNubSwift.svg) +[![Platforms](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fpubnub%2Fswift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/pubnub/swift) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/PubNubSwift.svg)](https://img.shields.io/cocoapods/v/PubNubSwift.svg) [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) @@ -40,9 +40,11 @@ You have several options to set up your project. We provide instructions here fo ### [Swift Package Manager](https://github.com/apple/swift-package-manager) 1. Create or open your project inside of Xcode -1. Navigate to File > Swift Packages > Add Package Dependency -1. Search for PubNub and select the swift package owned by pubnub, and hit the Next button -1. Use the `Up to Next Major Version` rule spanning from `8.0.0` < `9.0.0`, and hit the Next button +2. Navigate to **File** > **Add Package Dependencies...** +3. Enter the package URL: `https://github.com/pubnub/swift.git` +4. Use the `Up to Next Major Version` rule spanning from `9.0.0` < `10.0.0` +5. Click `Add Package` +6. From the list of package products, assign `PubNubSDK` to your target application 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) @@ -53,7 +55,7 @@ For more information see Apple's guide on [Adding Package Dependencies to Your A use_frameworks! target 'YOUR_TARGET_NAME' do - pod 'PubNubSwift', '~> 8.0' + pod 'PubNubSwift', '~> 9.0' end ``` @@ -72,7 +74,7 @@ Officially supported: Carthage 0.39.1 and up. Add the following to `Cartfile`: ```ruby -github "pubnub/swift" ~> 8.0 +github "pubnub/swift" ~> 9.0 ``` Then in the directory containing your `Cartfile`, execute the following: