Repository navigation
chore(deps): update Cocoa SDK to v9.35.0 - #5949
Merged
Merged
Conversation
github-actions
Bot
requested review from
jamescrosswell and
ric-oliv
as code owners
November 17, 2026 03:00
bruno-garcia
force-pushed
the
deps/modules/sentry-cocoa
branch
from
November 17, 2026 03:01
7ec6cf4 to
858d7c7
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
StructsAndEnums.cs is the generate-cocoa-bindings.ps1 output from the macOS CI run of this PR (blob 22d364c). The patch script now drops SentryObjCOptions.WebViewTracing, whose SentryObjCWebViewTracingOptions type isn't in the KeepInterfaces whitelist, so ApiDefinition.cs is unchanged. Co-Authored-By: Ricardo Oliveira <ricardo.oliveira@sentry.io>
This was referenced Nov 17, 2026
ric-oliv
approved these changes
Nov 17, 2026
ric-oliv
added a commit
that referenced
this pull request
Nov 19, 2026
Seven jobs repeated the steps that compute the Cocoa SDK cache key and restore the cache. They now call restore-cocoa-sdk, which replaces cocoa-cache-key and keeps the release-branch rule in one place. The device tests and warm-cocoa-cache still restore on release branches. After a cache miss every macOS job builds the Cocoa SDK at once, and only the first save stores anything: on the #5949 merge push five jobs saved and one main entry was created. Only build-sentry, which always builds the Cocoa SDK on a miss, and warm-cocoa-cache save the cache now. Refs #3852 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
jamescrosswell
added a commit
that referenced
this pull request
Nov 19, 2026
* ci: Run the iOS trim analysis without signing certificates The iOS publish of Sentry.MauiTrimTest was commented out because a device build asked for signing certificates. Trimming and NativeAOT compilation run before code signing, so publishing with EnableCodeSigning=false gives the same analysis. The step also skips the Xcode version check, because the net10.0-ios26 pack only accepts Xcode 26.0 and the runner only has 27.2. iOS uses TrimMode=partial and treats MT2387 as an error, which catches the launch crash from #5855 if IsTrimmable ever leaves Sentry.Bindings.Cocoa. The job restores the Cocoa SDK cache instead of building it from source. Fixes #3852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: Share the Cocoa SDK cache restore and save it from one job (#5963) Seven jobs repeated the steps that compute the Cocoa SDK cache key and restore the cache. They now call restore-cocoa-sdk, which replaces cocoa-cache-key and keeps the release-branch rule in one place. The device tests and warm-cocoa-cache still restore on release branches. After a cache miss every macOS job builds the Cocoa SDK at once, and only the first save stores anything: on the #5949 merge push five jobs saved and one main entry was created. Only build-sentry, which always builds the Cocoa SDK on a miss, and warm-cocoa-cache save the cache now. Refs #3852 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * ci: Add .NET 11 to the MAUI trim analysis (#5962) * ci: Add .NET 11 to the MAUI trim analysis The package ships net11.0-ios27.2 and net11.0-android37.0, but Sentry.MauiTrimTest only targeted net10. Add both TFMs and a publish step for each to the trim-analysis job. The .NET 11 iOS SDK rejects the 2024 MAUI template, so the app follows a fresh dotnet new maui: a scene delegate and UIApplicationSceneManifest (MT7199), no Frame and ListView styles (CS0618) and a nullable sender in MainPage (CS8622). Android on .NET 11 needs API 24. Only the net10 iOS publish still skips the Xcode version check, because the net11 pack accepts Xcode 27.2. Refs #3852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: Report trim warnings in the Android trim analysis The Android SDK defaults release builds to partial trimming, and with it sets SuppressTrimAnalysisWarnings, so the Android publishes of Sentry.MauiTrimTest never reported a trim warning. Full trimming turns the analysis back on. Both Android publishes stay clean, and both now fail with IL2057 when Android code uses [SuppressMessage] where it needs [UnconditionalSuppressMessage]. Refs #3852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: Note how to bump the trim apps' TFMs The trim apps keep literal TFMs, so a .NET major bump has to update them, the Android and iOS minimum versions in Sentry.MauiTrimTest and the trim-analysis publish steps by hand. Refs #3852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Apply suggestion from @jamescrosswell Co-authored-by: James Crosswell <jamescrosswell@users.noreply.github.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: James Crosswell <jamescrosswell@users.noreply.github.com> * ci: Also publish the iOS trim app with full trimming The trim app publishes iOS with partial trimming, because that's the setup #5855 crashed in, and only partial trimming reports MT2387. This adds a publish of the latest iOS TFM with MtouchLink=Full, the link mode NativeAOT apps get when they set neither MtouchLink nor TrimMode. Unlike -p:TrimMode=full, it doesn't trigger the SDK's warning against setting TrimMode with NativeAOT. -p:TrimMode= doesn't work for this: as a global property it keeps TrimMode empty, which no real app does. The step deletes the app's obj and bin output for that TFM first. Today's SDK reruns the assembly preparer and ILC when only the link mode changes, but nothing guarantees that. The trim-analysis steps now read their TFMs from Directory.Build.props instead of spelling them out. They follow the next TFM bump, and fail with NETSDK1005 until Sentry.MauiTrimTest targets the new TFMs. Refs #3852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: James Crosswell <jamescrosswell@users.noreply.github.com>
27 tasks done
This was referenced Nov 26, 2026
This was referenced Nov 30, 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.
Bumps modules/sentry-cocoa from 9.34.0 to 9.35.0.
Auto-generated by a dependency updater.
Changelog
9.35.0
Features
options.webViewTracingto connect the traces of everyWKWebViewautomatically, keeping the trace current across page loads (#9538)options.webViewTracingthrough the SentryObjC SDK asSentryObjCOptions.webViewTracing(#9539)launchTimeToFirstDraw,launchResumeTime,launchOptimizedTimeToFirstDraw,launchExtended,responsivenessHangTimeandcellularConditionTimemetric reports, which send MetricKit histograms as distributions with one value per sample, up to about 100 values per histogram (#9493)device.low_power_modeand anapp.build_typeoftest, and takeapp.app_identifierfrom the diagnostic instead of the running app (#9523)Fixes
attachAllThreads,enableDataSwizzlingandenableStandaloneAppStartTracingfrom the options dictionary that hybrid SDKs pass to the native SDK (#9586)Improvements
Match Session Replay network detail allow and deny URL patterns once per URL session task and reuse the decision for later state changes and response capture, instead of matching on every call (#9316)
Count error events captured with
captureEventin the current session's error count, as the Java and Native SDKs do, so hybrid SDKs such as Godot and Unreal report errored sessions. App hangs and events from a previous process still don't count (#9597)Improvements