Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .pubnub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -730,7 +730,7 @@ sdks:
minimum-os-version:
- watchOS 4.0
maximum-os-version:
- watchOS 12.0
- watchOS 11.5
target-architecture:
- arm64
- armv7k
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -810,17 +810,17 @@ sdks:
minimum-os-version:
- macOS 10.15
maximum-os-version:
- macOS 15.0.1
- macOS 15.5
target-architecture:
- arm64
- x86_64
iOS:
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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)

Expand All @@ -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
```

Expand All @@ -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:
Expand Down
Loading