Repository navigation
feat!: [SDK-5823] drop CocoaPods support, require SPM (1/2) - #1206
Open
fadi-george wants to merge 2 commits into
Open
fadi-george wants to merge 2 commits into
fadi-george wants to merge 2 commits into
Conversation
Remove the plugin podspec and the pods demo apps. The release workflow now reads and bumps the iOS SDK version only in Package.swift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Draft
8 of 18 tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open
8 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One Line Summary
Drop CocoaPods support for iOS and require Flutter 3.44+, where Swift Package Manager is the default.
Motivation
CocoaPods trunk goes read-only on Dec 2, 2026. After that, new OneSignalXCFramework versions can't be published to trunk, so the podspec can't follow native iOS bumps. Flutter 3.44 made SPM the default.
Scope
pubspec.yamlminimum Flutter version to>=3.44.0. Apps on 3.41 to 3.43 stay on the last plugin version that supports pods.ios/onesignal_flutter.podspec. If an app has SPM turned off, Flutter now fails with: "The following plugin(s) are only compatible with Swift Package Manager: onesignal_flutter".examples/demo-podsandexamples/demo-no-location-pods.create-release-pr.yml: read and bump the iOS SDK version fromPackage.swiftonly.Breaking change, so this should ship as a major version.
Stack:
examples/build-ios.md, migration guide (to follow)Testing
flutter analyzeand unit tests (272) pass.examples/demoiOS build (SPM) succeeds.enable-swift-package-manager: falsefails with the SPM-only error above.IOS_VERSIONextraction returns5.8.1fromPackage.swift.Affected code checklist
Checklist
🤖 Generated with Claude Code