Skip to content

[iOS] 7.12.0 not building building could produce unreliable results #5641

@huextrat

Description

@huextrat

What React Native libraries do you use?

Expo (mobile only), Expo Application Services (EAS), RN New Architecture, React Navigation, Hermes

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

7.12.0

How does your development environment look like?

⬇  Place the `npx react-native@latest info` output here. ⬇

  expo-env-info 2.0.8 environment info:
    System:
      OS: macOS 26.2
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 24.12.0 - ~/.nvm/versions/node/v24.12.0/bin/node
      Yarn: 4.12.0 - /opt/homebrew/bin/yarn
      npm: 11.7.0 - ~/Documents/Dev/react-native-app/node_modules/.bin/npm
      Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.15.2 - /Users/hugo/.rvm/gems/ruby-3.3.5/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 25.2, iOS 26.2, macOS 26.2, tvOS 26.2, visionOS 26.2, watchOS 26.2
      Android SDK:
        API Levels: 23, 26, 31, 33, 34, 35, 36
        Build Tools: 30.0.3, 33.0.0, 33.0.1, 33.0.2, 34.0.0, 35.0.0, 36.0.0
        System Images: android-27 | Google APIs ARM 64 v8a, android-29 | Google Play ARM 64 v8a, android-35 | Google APIs ARM 64 v8a, android-35 | Google Play ARM 64 v8a, android-35 | Pre-Release 16 KB Page Size Google Play ARM 64 v8a, android-36.1 | Google Play ARM 64 v8a, android-36 | Google Play ARM 64 v8a
        Android NDK: 22.1.7171670
    IDEs:
      Android Studio: 2025.1 AI-251.26094.121.2513.14007798
      Xcode: 26.2/17C52 - /usr/bin/xcodebuild
    npmPackages:
      expo: 54.0.31 => 54.0.31 
      expo-updates: 29.0.16 => 29.0.16 
      react: 19.1.0 => 19.1.0 
      react-dom: 19.1.0 => 19.1.0 
      react-native: 0.81.5 => 0.81.5 
    npmGlobalPackages:
      eas-cli: 16.28.0
    Expo Workflow: bare


Sentry.init()

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  // other options
});

Steps to Reproduce

  1. Use version 7.12.0
  2. Build RN in release mode
  3. Build failure with ❌ error: Cycle inside X; building could produce unreliable results.

v7.11.0 is working well, I don't have much info except I'm building with eas locally (command line example: eas build --profile preview --platform ios --non-interactive --local --clear-cache --output builds/x.ipa

Expected Result

No regression on build with v7.12.0

Actual Result

Build failure with 7.12.0 ❌ error: Cycle inside X; building could produce unreliable results.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions