From 9e6dfc661a526a3aec3798d1161dc0d5b19fd6e5 Mon Sep 17 00:00:00 2001 From: Maximilian Haupt Date: Wed, 26 Aug 2026 14:36:04 +0200 Subject: [PATCH 1/4] Allow AppAuth 1.7.x in the iOS SDK Exact 1.7.5 pins block host apps that already depend on AppAuth 1.7.6. A 1.7 minor range keeps 1.x compatibility. --- ContentPass.podspec | 2 +- Package.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ContentPass.podspec b/ContentPass.podspec index f16162e..69a0148 100644 --- a/ContentPass.podspec +++ b/ContentPass.podspec @@ -13,6 +13,6 @@ Pod::Spec.new do |spec| spec.source = { :git => "https://github.com/contentpass/contentpass-ios.git", :tag => "#{spec.version}" } spec.source_files = "Sources/**/*" - spec.dependency 'AppAuth', '1.7.5' + spec.dependency 'AppAuth', '~> 1.7.5' spec.dependency 'Strongbox', '0.6.1' end diff --git a/Package.swift b/Package.swift index c07e7b6..a4da9b7 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["ContentPass"]) ], dependencies: [ - .package(name: "AppAuth", url: "https://github.com/openid/AppAuth-iOS", .exact("1.7.5")), + .package(name: "AppAuth", url: "https://github.com/openid/AppAuth-iOS", .upToNextMinor(from: "1.7.5")), .package(name: "Strongbox", url: "https://github.com/granoff/Strongbox", .exact("0.6.1")) ], targets: [ From c7fd2212a280afc2d954e6ab8c81993aa8d77915 Mon Sep 17 00:00:00 2001 From: Maximilian Haupt Date: Wed, 26 Aug 2026 14:37:49 +0200 Subject: [PATCH 2/4] Bump version to 2.2.2 --- ContentPass.podspec | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ContentPass.podspec b/ContentPass.podspec index 69a0148..1a6135b 100644 --- a/ContentPass.podspec +++ b/ContentPass.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "ContentPass" - spec.version = "2.2.1" + spec.version = "2.2.2" spec.summary = "Handles all authentication and validation with contentpass servers for you." spec.homepage = "https://contentpass.de" diff --git a/README.md b/README.md index 547a900..842c4f2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ or * Add the following `dependency` to your `Package.swift`: ```swift dependencies: [ - .package(url: "https://github.com/contentpass/contentpass-ios", .upToNextMajor(from: "2.2.1")) + .package(url: "https://github.com/contentpass/contentpass-ios", .upToNextMajor(from: "2.2.2")) ] ``` @@ -34,7 +34,7 @@ In both cases don't forget to add the sdk to your targets. With [CocoaPods](https://guides.cocoapods.org/using/getting-started.html), add the following line to your `Podfile`: ```ruby - pod 'ContentPass', '~> 2.2.1' + pod 'ContentPass', '~> 2.2.2' ``` Then, run `pod install` via terminal. From 8a07d16dd0291ca5951aa153e0df88e3bdde19b3 Mon Sep 17 00:00:00 2001 From: Maximilian Haupt Date: Wed, 26 Aug 2026 14:44:16 +0200 Subject: [PATCH 3/4] Use iPhone 17 in CI --- .github/workflows/unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 982b294..c095799 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -12,4 +12,4 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Run tests - run: xcodebuild test -scheme ContentPassExample -workspace ContentPassExample/ContentPassExample.xcworkspace -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15' | xcpretty && exit ${PIPESTATUS[0]} \ No newline at end of file + run: xcodebuild test -scheme ContentPassExample -workspace ContentPassExample/ContentPassExample.xcworkspace -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' | xcpretty && exit ${PIPESTATUS[0]} \ No newline at end of file From f0b297de5db66eee024109937ee38dbe666edfec Mon Sep 17 00:00:00 2001 From: Maximilian Haupt Date: Wed, 26 Aug 2026 14:51:48 +0200 Subject: [PATCH 4/4] Deprecate CocoaPods in the iOS SDK docs New versions are not published to trunk. Advertising a 2.2.2 pod would send integrators to a version that is not on CocoaPods. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 842c4f2..ce5e12a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Installation Since we use external dependencies for solved problems such as OAuth 2.0, we strongly recommend using a dependency manager. -We currently support SPM as well as CocoaPods. +Install the SDK with Swift Package Manager. CocoaPods is deprecated. @@ -32,13 +32,14 @@ In both cases don't forget to add the sdk to your targets. ### CocoaPods -With [CocoaPods](https://guides.cocoapods.org/using/getting-started.html), add the following line to your `Podfile`: +CocoaPods is deprecated. New versions are not published to CocoaPods trunk. Use Swift Package Manager. + +Apps that still install via CocoaPods can depend on the git repository until they migrate: + ```ruby - pod 'ContentPass', '~> 2.2.2' +pod 'ContentPass', :git => 'https://github.com/contentpass/contentpass-ios.git', :tag => '2.2.2' ``` -Then, run `pod install` via terminal. - ## Usage