feat(ios): bump Sentry Cocoa to 9.24.0 and drop CocoaPods in favor of SPM - #1352
Open
lucas-zimerman wants to merge 2 commits into
Open
feat(ios): bump Sentry Cocoa to 9.24.0 and drop CocoaPods in favor of SPM#1352lucas-zimerman wants to merge 2 commits into
lucas-zimerman wants to merge 2 commits into
Conversation
… SPM sentry-cocoa deprecated CocoaPods (getsentry/sentry-cocoa#7526) and stopped publishing new releases to CocoaPods trunk after 9.19.1, so SentryCapacitor.podspec could never be bumped past that version. - Bump sentry-cocoa to 9.24.0 in Package.swift - Remove SentryCapacitor.podspec and its references in package.json, CONTRIBUTING.md and scripts/update-cocoa.sh - Migrate SentryCapacitor in the ionic-angular-v7 and ionic-vue3 sample apps from CocoaPods to SPM, matching ionic-angular-v8 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTc7FjqtGsy2MFcvfBftJ4
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTc7FjqtGsy2MFcvfBftJ4
Contributor
|
Collaborator
Author
|
will be ready for review after the next release |
11 tasks
lucas-zimerman
added a commit
that referenced
this pull request
Aug 1, 2026
* chore: warn about upcoming CocoaPods deprecation for iOS Give CocoaPods users a heads-up before the actual removal (staged in #1352) lands, pointing them at SPM as the migration path. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTc7FjqtGsy2MFcvfBftJ4 * chore: link PR #1353 in changelog deprecation entry Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTc7FjqtGsy2MFcvfBftJ4 * Apply suggestions from code review Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com> --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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.
📢 Type of change
📜 Description
sentry-cocoafrom9.16.1to9.24.0inPackage.swift.SentryCapacitor.podspecand its references inpackage.json,CONTRIBUTING.mdandscripts/update-cocoa.sh(which now only managesPackage.swift).SentryCapacitorin theionic-angular-v7andionic-vue3sample apps from CocoaPods to SPM (XCLocalSwiftPackageReference), matching whationic-angular-v8already does. Other Capacitor plugins in these samples stay on CocoaPods — only Sentry moves to SPM.💡 Motivation and Context
sentry-cocoadeprecated CocoaPods and stopped publishing new releases to CocoaPods trunk after9.19.1(confirmed againsttrunk.cocoapods.org— nothing from9.20.0through the current9.24.0was ever published there). KeepingSentryCapacitor.podspecaround means it can never be bumped past9.16.1/9.19.1, and CocoaPods itself is on an industry-wide sunset (trunk goes fully read-only December 2, 2026), so there's no benefit to staging this over multiple releases — same reasoning Firebase and sentry-react-native used to drop CocoaPods this cycle.💚 How did you test it?
.pbxprojfiles by round-tripping them through a Python ASCII-plist parser and diffing the object graph againstionic-angular-v8's known-good SPM wiring — structurally identical.pod install/xcodebuildlocally (no macOS/Xcode in this environment); CI'sSample Buildworkflow (pod install --repo-update+xcodebuild) on all three sample apps is the first real build verification.📝 Checklist
sendDefaultPIIis enabled🔮 Next steps
pod install+xcodebuildforionic-angular-v7,ionic-angular-v8, andionic-vue3before merge — first real validation of the.pbxprojedits since this was authored without macOS/Xcode access.Podfile.lockinionic-angular-v7/ionic-vue3still lists the oldSentryCapacitor/Sentry/SentryPrivateentries; will self-correct on the nextpod install.🤖 Generated with Claude Code
https://claude.ai/code/session_01LTc7FjqtGsy2MFcvfBftJ4