Skip to content

@sentry/react-native@7.5.0 depends on sentry-cocoa version with typo in filename SentyOptionsInternal.m #5332

@JavidHaji-zada

Description

@JavidHaji-zada

What React Native libraries do you use?

React Native without Frameworks

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

7.5.0

How does your development environment look like?

⬇  Place the `npx react-native@latest info` output here. ⬇
System:
  OS: macOS 15.7.1
  CPU: (12) arm64 Apple M3 Pro
  Memory: 1.41 GB / 36.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.11.0
    path: /var/folders/ch/bjkm7_qd3kx__zl9rmrsv8740000gp/T/yarn--1762286837126-0.607224926847117/node
  Yarn:
    version: 1.22.22
    path: /var/folders/ch/bjkm7_qd3kx__zl9rmrsv8740000gp/T/yarn--1762286837126-0.607224926847117/yarn
  npm:
    version: 10.9.0
    path: /Users/jhajizada/.nvm/versions/node/v22.11.0/bin/npm
  Watchman:
    version: 2025.04.14.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.1
      - iOS 26.1
      - macOS 26.1
      - tvOS 26.1
      - visionOS 26.1
      - watchOS 26.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12483815
  Xcode:
    version: 26.1/17B55
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.5
    wanted: 0.79.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Sentry.init()

This is irrelevant to the issue

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

Steps to Reproduce

  1. yarn add @sentry/react-native
  2. cd ios && pod install
  3. ls Pods/Sentry/Sources/Sentry/SentryOptionsInternal.m

Expected Result

Pods/Sentry/Sources/Sentry/SentryOptionsInternal.m

Actual Result

No such file or directory.

The @sentry/react-native version 7.5.0 appears to depend on a version of sentry-cocoa that contains a typo in a filename: SentyOptionsInternal.m instead of SentryOptionsInternal.m. This causes build issues and file reference problems when using @sentry/react-native@7.5.0 in React Native projects

I can see that SentryOptionsInternal.m was correctly renamed in sentry-cocoa recently.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions