Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
- Make the `RNSentry` SPEC CHECKSUM in `Podfile.lock` machine-independent ([#6534](https://github.com/getsentry/sentry-react-native/pull/6534))

The prebuilt `Sentry.xcframework` is now referenced through a `$(PODS_ROOT)/sentry-xcframeworks/…` symlink instead of the absolute per-user cache path, so `Podfile.lock` no longer churns between developers and CI. Expect a one-time `RNSentry` checksum change on the next `pod install`; the `SENTRY_XCFRAMEWORK_CACHE_DIR=/tmp/…` workaround is no longer needed.
### Dependencies

- Bump Cocoa SDK from v9.24.0 to v9.25.0 ([#6409](https://github.com/getsentry/sentry-react-native/pull/6409))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#9250)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/9.24.0...9.25.0)

## 8.22.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/core/RNSentry.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
'DEFINES_MODULE' => 'YES'
}

sentry_cocoa_version = '9.24.0'
sentry_cocoa_version = '9.25.0'

Check warning on line 66 in packages/core/RNSentry.podspec

View check run for this annotation

@sentry/warden / warden: code-review

macOS deployment target not bumped to match upstream sentry-cocoa 9.25.0

sentry-cocoa 9.25.0 raised its minimum macOS deployment target to 12, but the podspec still declares `s.osx.deployment_target = "10.13"`. Should this be bumped to `"12.0"` so CocoaPods fails fast during `pod install` instead of letting the build fail later?

Check failure on line 66 in packages/core/RNSentry.podspec

View check run for this annotation

@sentry/warden / warden: find-bugs

RNSentry macOS deployment target incompatible with sentry-cocoa 9.25.0

sentry-cocoa 9.25.0 raised its minimum deployment target to macOS 12, but `RNSentry.podspec` still declares `s.osx.deployment_target = "10.13"` (line 48). Bumping the dependency version without raising the consumer's macOS target will break builds for macOS targets below 12.

@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


# Consume sentry-cocoa as a prebuilt `Sentry.xcframework` by default.
#
Expand Down
4 changes: 2 additions & 2 deletions packages/core/scripts/sentry_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
# `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.24.0' => {
'Sentry' => 'c530edd27b20f7c151e73d84a34ee03474e3d5ddab65ffe9d30366f80149668a',
'9.25.0' => {

Check warning on line 63 in packages/core/scripts/sentry_utils.rb

View check run for this annotation

@sentry/warden / warden: code-review

[UX8-XHG] macOS deployment target not bumped to match upstream sentry-cocoa 9.25.0 (additional location)

sentry-cocoa 9.25.0 raised its minimum macOS deployment target to 12, but the podspec still declares `s.osx.deployment_target = "10.13"`. Should this be bumped to `"12.0"` so CocoaPods fails fast during `pod install` instead of letting the build fail later?
'Sentry' => '766417fae6474bc83e6691164a0b5fa93f8879cc7c9721dba5f7f5bf2ef20174',
},
}.freeze

Expand Down
Loading