Skip to content

chore(deps): update Cocoa SDK to v9.25.0 - #6409

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh
Draft

chore(deps): update Cocoa SDK to v9.25.0#6409
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps scripts/update-cocoa.sh from 9.24.0 to 9.25.0.

Auto-generated by a dependency updater.

Changelog

9.25.0

Warning

This release raises the minimum deployment targets to macOS 12 and watchOS 9. Apps that support older OS versions must use an earlier Sentry Cocoa release.

  • Bump the minimum deployment targets to macOS 12 and watchOS 9 because Xcode 27 no longer supports earlier versions. This lets the SDK adopt Xcode 27 without blocking users from building and submitting their apps with the latest Xcode. (#8595, #8113, #8189)

Features

  • Add SentrySDK.feedback.enableOnShake() and disableOnShake() to toggle the shake-to-report gesture at runtime (#8591)

Fixes

  • Reduce memory usage when storing envelopes with large attachments (#8649)
  • Fix incorrect duration sent for active sessions (#8612)
    • Session duration is now set only when the session ends. Active sessions (including on error increments) no longer emit a bogus duration.
  • Fix a race that could prevent consecutive app hangs from being reported (#8627)
  • Fix malformed itms-services URL in SentryDistribution updater (#8567)

9.24.0

Breaking Changes

Full CHANGELOG.md diff
 -1,12 +1,33 
 # Changelog
 
-## 9.24.0
+## 9.25.0
+
+> [!WARNING]
+> This release raises the minimum deployment targets to macOS 12 and watchOS 9. Apps that support older OS versions must use an earlier Sentry Cocoa release.
 
 ### Breaking Changes
 
+- Bump the minimum deployment targets to macOS 12 and watchOS 9 because Xcode 27 no longer supports earlier versions. This lets the SDK adopt Xcode 27 without blocking users from building and submitting their apps with the latest Xcode. ([#8595](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8595), [#8113](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8113), [#8189](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8189))
+
+### Features
+
+- Add `SentrySDK.feedback.enableOnShake()` and `disableOnShake()` to toggle the shake-to-report gesture at runtime ([#8591](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8591))
+
+### Fixes
+
+- Reduce memory usage when storing envelopes with large attachments ([#8649](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8649))
+- Fix incorrect `duration` sent for active sessions ([#8612](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8612))
+  - Session `duration` is now set only when the session ends. Active sessions (including on error increments) no longer emit a bogus `duration`.
+- Fix a race that could prevent consecutive app hangs from being reported ([#8627](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8627))
+- Fix malformed itms-services URL in SentryDistribution updater ([#8567](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8567))
+
+## 9.24.0
+
 > [!IMPORTANT]
 > Due to a potential risk of revealing PII or security-relevant data in crash events in specific circumstances, we're shipping this strictly speaking breaking change in a minor version.
 
+### Breaking Changes
+
 - Add `enableMemoryIntrospection` option to allow users to control memory introspection in crash reports, defaults to false (was previously true) ([#8571](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8571))
   - You can re-enable this feature by setting the option `enableMemoryIntrospection` to true
   - When this option is disabled, string stack contents found near the crash site will not be included in the event sent to Sentry. These contents are displayed in the 'message' subtitle shown underneath the main issue title in Sentry.

@github-actions
github-actions Bot requested a review from alwx as a code owner July 6, 2026 12:00
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 507d83f to f774131 Compare July 6, 2026 12:01
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Cocoa SDK to v9.25.0 by github-actions[bot] in #6409
  • fix(ios): Re-land SentrySDK.internal migration, bump Cocoa SDK to 9.24.0 by alwx in #6541
  • ci: Replace curl-pipe-bash with action-setup-cli for Sentry CLI setup by oioki in #6567

🤖 This preview updates automatically when you update the PR.

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 3 times, most recently from 4e98712 to 4a42ca3 Compare July 6, 2026 12:03
Comment thread packages/core/RNSentry.podspec Outdated
}

sentry_cocoa_version = '9.19.1'
sentry_cocoa_version = '9.20.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The podspec references Sentry Cocoa SDK version 9.20.0, which is not available on CocoaPods. This will cause pod install to fail for default installations.
Severity: CRITICAL

Suggested Fix

Since version 9.20.0 is not on CocoaPods, either revert the version update in the podspec to a version that is available on CocoaPods, or update the logic to make SPM the default. Alternatively, update the CI and documentation to enforce setting SENTRY_USE_SPM=1 for this and future versions.

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: packages/core/RNSentry.podspec#L57

Potential issue: The pull request updates the Sentry Cocoa SDK dependency to version
9.20.0 in `RNSentry.podspec`. However, this version was not published to CocoaPods, only
to Swift Package Manager (SPM). The podspec defaults to using CocoaPods unless the
`SENTRY_USE_SPM` environment variable is explicitly set to '1'. Consequently, any user
or CI/CD process (like the `native-tests.yml` workflow) running `pod install` without
this environment variable will encounter a build failure because the specified
dependency version cannot be resolved from the CocoaPods repository.

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the Blocked label since this is blocking till the xcframeworks work replacing the cocoapod dependency land.
Also added the ready-to-merge label to see how the failure reflects on the CI checks.

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from 9a1cdcc to abb3232 Compare July 6, 2026 14:45
@antonis antonis added Blocked ready-to-merge Triggers the full CI test suite labels Jul 6, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from abb3232 to cde5219 Compare July 6, 2026 15:18
antonis
antonis previously requested changes Jul 6, 2026
@antonis antonis removed the ready-to-merge Triggers the full CI test suite label Jul 6, 2026
@sentry

sentry Bot commented Jul 6, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.19.0 (99) Release

⚙️ sentry-react-native Build Distribution Settings

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 3 times, most recently from cae931a to 58437c2 Compare July 7, 2026 08:20

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the ready-to-merge label just to run the full test suite now that #6413 is merged. As discussed we will delay shipping this and iterate with a follow up to #6413 that drops the fallback hack before bumping cocoa.

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Jul 7, 2026
@antonis
antonis marked this pull request as draft July 7, 2026 08:24
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3868.43 ms 1240.33 ms -2628.10 ms
Size 4.98 MiB 6.58 MiB 1.60 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b0d3373+dirty 3842.49 ms 1218.49 ms -2624.00 ms
ef27341+dirty 3835.20 ms 1212.23 ms -2622.97 ms
e5bb5f6+dirty 3825.74 ms 1217.30 ms -2608.43 ms
44c8b3f+dirty 3849.24 ms 1209.94 ms -2639.31 ms
68672fc+dirty 3832.22 ms 1228.29 ms -2603.93 ms
5748023+dirty 3844.74 ms 1225.49 ms -2619.26 ms
6acdf1d+dirty 3835.35 ms 1218.30 ms -2617.06 ms
2c735cc+dirty 1223.33 ms 1224.38 ms 1.04 ms
100ce80+dirty 3843.57 ms 1226.46 ms -2617.12 ms
9210ae6+dirty 3834.11 ms 1216.64 ms -2617.47 ms

App size

Revision Plain With Sentry Diff
b0d3373+dirty 5.15 MiB 6.68 MiB 1.53 MiB
ef27341+dirty 5.15 MiB 6.68 MiB 1.53 MiB
e5bb5f6+dirty 4.98 MiB 6.51 MiB 1.53 MiB
44c8b3f+dirty 5.15 MiB 6.66 MiB 1.51 MiB
68672fc+dirty 5.15 MiB 6.71 MiB 1.55 MiB
5748023+dirty 5.15 MiB 6.68 MiB 1.53 MiB
6acdf1d+dirty 4.98 MiB 6.51 MiB 1.53 MiB
2c735cc+dirty 3.38 MiB 4.74 MiB 1.35 MiB
100ce80+dirty 5.15 MiB 6.67 MiB 1.51 MiB
9210ae6+dirty 5.15 MiB 6.68 MiB 1.53 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1204.21 ms 1217.09 ms 12.88 ms
cb5d89e+dirty 3854.04 ms 1228.56 ms -2625.48 ms
ebc61a9+dirty 3822.19 ms 1201.34 ms -2620.85 ms
58dacb0+dirty 3839.13 ms 1211.04 ms -2628.09 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB
cb5d89e+dirty 5.15 MiB 6.70 MiB 1.54 MiB
ebc61a9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
58dacb0+dirty 5.15 MiB 6.67 MiB 1.51 MiB

@antonis antonis removed the ready-to-merge Triggers the full CI test suite label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3843.74 ms 1222.89 ms -2620.85 ms
Size 4.98 MiB 6.58 MiB 1.60 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b9bebee+dirty 3850.15 ms 1227.51 ms -2622.64 ms
3d377b5+dirty 1218.48 ms 1219.51 ms 1.03 ms
1a2e7e0+dirty 3842.49 ms 1220.04 ms -2622.45 ms
e5bb5f6+dirty 3826.14 ms 1212.24 ms -2613.90 ms
6acdf1d+dirty 3844.33 ms 1212.96 ms -2631.38 ms
41d6254+dirty 3845.71 ms 1224.51 ms -2621.20 ms
9210ae6+dirty 3815.93 ms 1214.14 ms -2601.79 ms
c004dae+dirty 3850.32 ms 1227.79 ms -2622.53 ms
4e0b819+dirty 3839.05 ms 1210.75 ms -2628.30 ms
0b5120f+dirty 3838.39 ms 1232.91 ms -2605.48 ms

App size

Revision Plain With Sentry Diff
b9bebee+dirty 5.15 MiB 6.68 MiB 1.53 MiB
3d377b5+dirty 3.38 MiB 4.76 MiB 1.38 MiB
1a2e7e0+dirty 4.98 MiB 6.46 MiB 1.49 MiB
e5bb5f6+dirty 4.98 MiB 6.51 MiB 1.53 MiB
6acdf1d+dirty 4.98 MiB 6.51 MiB 1.53 MiB
41d6254+dirty 5.15 MiB 6.70 MiB 1.54 MiB
9210ae6+dirty 5.15 MiB 6.68 MiB 1.53 MiB
c004dae+dirty 5.15 MiB 6.67 MiB 1.51 MiB
4e0b819+dirty 4.98 MiB 6.46 MiB 1.49 MiB
0b5120f+dirty 5.15 MiB 6.68 MiB 1.53 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1224.53 ms 1226.59 ms 2.06 ms
cb5d89e+dirty 3851.80 ms 1225.70 ms -2626.10 ms
ebc61a9+dirty 3844.58 ms 1218.91 ms -2625.67 ms
58dacb0+dirty 3849.82 ms 1228.28 ms -2621.54 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB
cb5d89e+dirty 5.15 MiB 6.70 MiB 1.54 MiB
ebc61a9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
58dacb0+dirty 5.15 MiB 6.67 MiB 1.51 MiB

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from c635679 to 7df6177 Compare July 8, 2026 05:58
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 15 times, most recently from f36ccdf to 9e8d58f Compare July 21, 2026 11:39
@antonis antonis added ready-to-merge Triggers the full CI test suite and removed ready-to-merge Triggers the full CI test suite labels Jul 21, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 4 times, most recently from 9b6e4dd to 6271eb5 Compare July 22, 2026 07:03
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 204662f

@github-actions

Copy link
Copy Markdown
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 441.54 ms 486.27 ms 44.73 ms
Size 49.74 MiB 55.36 MiB 5.61 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
f3215d3+dirty 411.11 ms 454.38 ms 43.27 ms
d2eadf8+dirty 414.64 ms 454.56 ms 39.92 ms
b0d3373+dirty 557.66 ms 579.42 ms 21.76 ms
27d9693+dirty 419.08 ms 469.12 ms 50.04 ms
4e0b819+dirty 420.56 ms 470.08 ms 49.52 ms
9474ead+dirty 411.45 ms 446.80 ms 35.35 ms
0bd8916+dirty 412.77 ms 451.31 ms 38.54 ms
f9c1ed4+dirty 431.00 ms 466.22 ms 35.22 ms
3d536d1+dirty 524.34 ms 547.32 ms 22.98 ms
04207c4+dirty 459.19 ms 518.54 ms 59.35 ms

App size

Revision Plain With Sentry Diff
f3215d3+dirty 48.30 MiB 53.49 MiB 5.19 MiB
d2eadf8+dirty 48.30 MiB 53.48 MiB 5.18 MiB
b0d3373+dirty 48.30 MiB 53.58 MiB 5.28 MiB
27d9693+dirty 49.74 MiB 55.09 MiB 5.34 MiB
4e0b819+dirty 49.74 MiB 54.81 MiB 5.07 MiB
9474ead+dirty 48.30 MiB 53.61 MiB 5.30 MiB
0bd8916+dirty 48.30 MiB 53.57 MiB 5.26 MiB
f9c1ed4+dirty 49.74 MiB 54.86 MiB 5.12 MiB
3d536d1+dirty 49.74 MiB 55.26 MiB 5.52 MiB
04207c4+dirty 43.75 MiB 48.12 MiB 4.37 MiB

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocking with #6500

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as blocked till the refactoring is reapplied #6507

Comment thread packages/core/RNSentry.podspec Outdated
Comment thread packages/core/scripts/sentry_utils.rb Outdated
}

sentry_cocoa_version = '9.19.1'
sentry_cocoa_version = '9.25.0'

@sentry-warden sentry-warden Bot Aug 6, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macOS deployment target incompatible with Cocoa SDK 9.25.0

Sentry Cocoa SDK 9.25.0 requires macOS 12 minimum, but the podspec still declares osx.deployment_target = "10.13" (line ~28). Update the podspec's macOS deployment target to match the upstream requirement, or consumers targeting macOS 10.13–11.x will hit build failures.

Evidence
  • Sentry Cocoa SDK 9.25.0 release notes state the minimum deployment target was bumped to macOS 12.
  • RNSentry.podspec sets s.osx.deployment_target = "10.13", which is below macOS 12.
  • Because the xcframework path bypasses CocoaPods source dependency resolution, CocoaPods won't detect the mismatch at pod install time; the failure will surface during the Xcode build or link phase for macOS consumers.

Identified by Warden · code-review, find-bugs · RZL-LV7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants