Repository navigation
Description
sentry-cocoa 10 isn't released yet. When it is, the dependency-update workflow opens a deps/modules/sentry-cocoa PR for it. That PR will fail to build: Sentry.Bindings.Cocoa stops when the submodule's major doesn't match SentryCocoaSupportedMajor, which is 9 (#5960). Do the steps below on that PR, then raise SentryCocoaSupportedMajor to 10. A new Cocoa major breaks the .NET SDK too, so it ships in a .NET major.
The list comes from the V10 build of sentry-cocoa 9.35.0 (SDK_V10), before 10.0 was released. Check it against sentry-cocoa's CHANGELOG_V10.md and develop-docs/KSCRASH_DOWNSTREAM_AUDIT.md at the released version.
Data collection
sendDefaultPii is gone, replaced by dataCollection. #5960 closes #5436 by forwarding only UserInfo, because 9.x has nothing else to map onto.
- Add
SentryObjCDataCollection*toKeepInterfacesinscripts/patch-cocoa-bindings.cs. Don't dropSentryObjCOptions.DataCollectionwithRemoveProperty. - In the Cocoa
SentrySdk.ApplyDataCollection, map the resolvedDataCollectionontonativeOptions.DataCollection, asDataCollectionExtensions.ApplyTodoes on Android. Cocoa has no GraphQL category. - Always set
UserInfo, even whenDataCollectionisn't configured. Cocoa'suserInfodefaults totrue, so leaving it unset turns on IP inference and the installation-ID user for apps withSendDefaultPii = false.
Other API changes
-
crashedLastRunandonCrashedLastRunare gone. UselastRunStatusandonLastRunStatusDetermined, which 9.x already has. -
enableAppHangTrackingis gone, with no replacement, soSentryOptions.Native.EnableAppHangTrackingneeds a decision. - Session Replay's
maskAllTextandmaskAllImagesmove tooptions.privacy. -
SentryObjCBreadcrumb.datais read-only.ToCocoaBreadcrumbhas to set each value withsetDataValue:forKey:.
KSCrash
- KSCrash replaces SentryCrash. Keep
scripts/sentry-cocoa.xcconfig, because KSCrash's managed signal handling still readsSENTRY_CRASH_MANAGED_RUNTIME. - Run the crash cases in
integration-test/ios.Tests.ps1. sentry-cocoa found duplicateSIGABRTevents and spuriousEXC_BAD_ACCESSevents for .NET (Preserve managed-runtime signal handling with KSCrash sentry-cocoa#8797).
Changed defaults
For each, decide whether to keep Cocoa's new default or set the 9.x one:
- MetricKit (see Expose Cocoa's MetricKit integration on iOS and Mac Catalyst #5950)
- Scope persistence (see Expose Cocoa's
enableScopePersistenceon iOS and Mac Catalyst #5929) - The installation ID as the fallback user ID
- File manager swizzling
Activity
linear-code commentedon Nov 19, 2026
NET-944
docs: move the sentry-cocoa 10 checklist into #5972
feat: DataCollection now configures the native Android SDK, and UserI…