fix(ios): Stay on Cocoa SDK 9.24.0 (revert 9.26.0 bump) - #6622
Merged
Conversation
Revert the sentry-cocoa bump from #6409. sentry-cocoa 9.25/9.26 moved the replay network-detail capture methods into a Swift `@objc extension`, which compiles to an ObjC category that the prebuilt static `Sentry.xcframework` dead-strips under the default static link, crashing at runtime with "unrecognized selector" (#6609). 9.24.0 predates that change, so the crashing category does not exist and no consumer-side linker workaround is needed. Roll back to it for this release; the 9.26 upgrade plus the `-force_load` link fix can land together as a proper follow-up (#6615). 9.26.0 was never released (Unreleased section only) and 8.23.0 already ships 9.24.0, so no user-facing changelog entry is needed — the Unreleased "Bump Cocoa SDK" line is dropped rather than replaced with a downgrade note. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
markushi
approved these changes
Aug 27, 2026
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
Reverts the sentry-cocoa bump from #6409, keeping this release on 9.24.0. Three changes:
RNSentry.podspec—sentry_cocoa_version9.26.0→9.24.0scripts/sentry_utils.rb— xcframework checksum map back to the9.24.0entryCHANGELOG.md— drop the Unreleased "Bump Cocoa SDK … to v9.26.0" line💡 Motivation and Context
sentry-cocoa 9.25/9.26 moved the replay network-detail capture methods into a Swift
@objc extension, which compiles to an ObjC category. Under the default static link of the prebuiltSentry.xcframework, that category-only object gets dead-stripped, so the method is missing at runtime and the app crashes with "unrecognized selector" (#6609).9.24.0 predates that change — the crashing category doesn't exist there — so rolling back removes the crash by construction, with no consumer-side linker workaround.
maincurrently ships 9.26.0 without any link fix (the-force_loadwork is still unmerged in #6615), so it's exposed to #6609 today; this puts the release back on known-good ground.The 9.26 upgrade +
-force_loadlink fix can then land together as a proper follow-up (#6615).💚 How did you test it?
ruby -con both touched files — Syntax OK.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Land the 9.26 upgrade together with the
-force_loadconsumer link fix (#6615) once verified, superseding this revert.