From 2b64ff540619da5c76b7007f0ad0bc48288b08fa Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 22 Oct 2026 07:43:34 +0000 Subject: [PATCH] chore: update scripts/update-cocoa.sh to 9.31.0 --- CHANGELOG.md | 6 ++++++ packages/core/Package.swift | 4 ++-- packages/core/RNSentry.podspec | 2 +- packages/core/scripts/sentry_utils.rb | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d53102b87..3670bdc7f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ - Stop wrapping the SDK's own `RNSentry` module in `turboModuleContextIntegration` by default. Each wrapped call wrote to the native scope several times, which added CPU time to every SDK call on iOS ([#6921](https://github.com/getsentry/sentry-react-native/pull/6921)) - To wrap `RNSentry` again, add `{ name: 'RNSentry' }` to the `modules` option. +### Dependencies + +- Bump Cocoa SDK from v9.30.2 to v9.31.0 ([#6925](https://github.com/getsentry/sentry-react-native/pull/6925)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#9310) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/9.30.2...9.31.0) + ## 8.31.0 ### Features diff --git a/packages/core/Package.swift b/packages/core/Package.swift index ecc04e16e7..354c139a95 100644 --- a/packages/core/Package.swift +++ b/packages/core/Package.swift @@ -77,8 +77,8 @@ let reactNativeHeaderProducts: [Target.Dependency] = [ // `scripts/update-cocoa.sh` keeps the version and the checksum in step with // `sentry_cocoa_version` in RNSentry.podspec. The checksum is the SHA256 of the // archive, which is what both `pod install` and SwiftPM verify. -let sentryCocoaVersion = "9.30.2" -let sentryCocoaChecksum = "593897dbdee24febeef45208b13960a4b389c5dbd25f64b1b3cb94c30291ed55" +let sentryCocoaVersion = "9.31.0" +let sentryCocoaChecksum = "86dde13e6145ea3049ee2eb0b07ccb66e137a4d3af0d0dfe0b9d895f80b43237" let sentryCocoa: Target.Dependency = "Sentry" diff --git a/packages/core/RNSentry.podspec b/packages/core/RNSentry.podspec index 09684a389e..7b32b1c352 100644 --- a/packages/core/RNSentry.podspec +++ b/packages/core/RNSentry.podspec @@ -68,7 +68,7 @@ Pod::Spec.new do |s| 'DEFINES_MODULE' => 'YES' } - sentry_cocoa_version = '9.30.2' + sentry_cocoa_version = '9.31.0' # Consume sentry-cocoa as a prebuilt `Sentry.xcframework` by default. # diff --git a/packages/core/scripts/sentry_utils.rb b/packages/core/scripts/sentry_utils.rb index 22fc07aa4a..3d42506e89 100644 --- a/packages/core/scripts/sentry_utils.rb +++ b/packages/core/scripts/sentry_utils.rb @@ -60,8 +60,8 @@ def is_new_hermes_runtime(rn_version) # `Sentry` module. `Sentry-Dynamic.xcframework` would ship the same # `Sentry.framework` inside but under a mismatched enclosing name, so # CocoaPods generates `-framework Sentry-Dynamic` and fails at link. - '9.30.2' => { - 'Sentry' => '593897dbdee24febeef45208b13960a4b389c5dbd25f64b1b3cb94c30291ed55', + '9.31.0' => { + 'Sentry' => '86dde13e6145ea3049ee2eb0b07ccb66e137a4d3af0d0dfe0b9d895f80b43237', }, }.freeze