chore(deps): update Cocoa SDK to v9.29.1 - #2866
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
bruno-garcia
force-pushed
the
deps/modules/sentry-cocoa/9.29.1
branch
from
September 25, 2026 03:02
16b774d to
6d9d4a1
Compare
| @@ -1 +1 @@ | |||
| Subproject commit d9df1c4e8d8466c7f8b3c56150378927dadf1b8e | |||
| Subproject commit 24a070d3f99359ae982c776b412a564f72bd4a93 | |||
There was a problem hiding this comment.
Bug: The updated sentry-cocoa dependency (v9.29.1) contains a known crash due to an unrecognized selector, isMetricKitEvent, which can be triggered during normal SDK operations.
Severity: CRITICAL
Suggested Fix
Revert the update of the sentry-cocoa dependency from v9.29.1. Investigate if a patched version is available that resolves the isMetricKitEvent selector issue before upgrading.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: modules/sentry-cocoa#L1
Potential issue: The update to `sentry-cocoa` v9.29.1 introduces a known runtime crash.
A refactor in the Cocoa SDK moved the `isMetricKitEvent()` method, causing an
`NSInvalidArgumentException` (unrecognized selector) when the Objective-C runtime fails
to find it. This crash can be triggered during normal event processing by the SDK, even
if MetricKit features are not explicitly enabled. The `sentry-unity` integration does
not wrap internal Cocoa SDK calls in exception handlers, making it vulnerable to this
unpredictable crash in production environments.
Did we get this right? 👍 / 👎 to inform future reviews.
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.
Bumps modules/sentry-cocoa from 9.29.0 to 9.29.1.
Auto-generated by a dependency updater.
Changelog
9.29.1
Fixes
options.experimental.enableNewURLLoaderSwizzling = true(disabled by default) (#8845)trace_idsin replay events to enable searching replays by trace ID (#9092)enableMetricKitRawPayloadis enabled, without attaching unrelated current-thread stack traces (#9070)enableAppHangTrackingso applications can continue opting out of App Hang tracking until its removal in v10 (#9094)appHangTimeoutIntervalvalues of 0 or lower to the default of 2 seconds, which previously spun the app hang tracker thread in a busy loop (#9020)