Repository navigation
feat!: [SDK-5824] drop CocoaPods support, require SPM on iOS - #88
Draft
fadi-george wants to merge 3 commits into
Draft
fadi-george wants to merge 3 commits into
fadi-george wants to merge 3 commits into
Conversation
Replace the podspec with a stub that fails pod install with migration steps, delete the pods demo, and bump the iOS SDK version in Package.swift from the release workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open
8 of 18 tasks
fadi-george
marked this pull request as draft
November 23, 2026 21:42
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.
Description
One Line Summary
Drop CocoaPods support for iOS. The plugin is now distributed only through Swift Package Manager.
Details
Motivation
CocoaPods trunk goes read-only on Dec 2, 2026. The podspec depends on
OneSignalXCFrameworkfrom trunk, so the pods path can't take any native iOS bump released after that date. Same change as the Flutter SDK: OneSignal/OneSignal-Flutter-SDK#1206.Scope
OneSignalCapacitorPlugin.podspecis now a stub that failspod installwith migration steps.cap syncwrites every plugin into the Podfile by path, so without it pods users get "No podspec found" with no guidance. Intended as a 2.x transition shim; can be deleted in the next major.Package.swift: OneSignal-XCFrameworkfrom: "5.2.0"->from: "5.8.1", matching the version the podspec used.create-release-pr.yml: read and bump the iOS SDK version inPackage.swift. Previously only the podspec was bumped.examples/demo-pods.setup.shsyncs Android only when it isn't running on macOS, instead of checking forpod.Not changed: Android, JS API, the SPM integration itself.
Other
Breaking: existing Capacitor apps (including on Capacitor 8) stay on pods until migrated. Suggest releasing as 2.0.0.
Testing
Unit testing
No new tests; no runtime code changed.
vp run lint,format:check,vp test run,vp run buildpass.Manual testing
examples/demoiOS simulator build through SPM succeeds.pod ipc specon the stub prints the migration message.sedverified against a copy ofPackage.swift.Affected code checklist
Checklist
Overview
Testing
Final pass
🤖 Generated with Claude Code