Skip to content

'ReactCommon/RCTTurboModule.h' file not found RN 0.75 New Architecture #4035

@serhii-yalla

Description

@serhii-yalla

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.30.0

react-native version: 0.75.1

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://[email protected]/...'
  // other options
});

or

(react-native-sentry)

Sentry.config(
  'https://[email protected]/...'
  // other options
 ).install();

I have the following issue:

Can't build app in XCode with 0.75.1 react native and new arch enabled.

'ReactCommon/RCTTurboModule.h' file not found
In file included from /Users/pprnd/Documents/yalla_cashier/node_modules/@sentry/react-native/ios/RNSentry.mm:35:

Steps to reproduce:

  • Step 1 Set up app with 0.75.1 react native and add @sentry/react-native 5.30.0
  • Step 2 Install deps, pods and try to build app

Actual result:

Image

Expected result:

Successful app build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions