Skip to content

iOS build failure with RN 0.87: "'RCTBridge.h' file not found" #1221

Description

@sandeepsengupta

With React Native 0.87, @react-native-menu/menu no longer builds for iOS. Building from the terminal results in a very lengthy and cryptic error message, but building from Xcode results in the following message:

[...]/node_modules/@react-native-menu/menu/ios/MenuViewManager.mm:3:9 'RCTBridge.h' file not found

Does this have something to do with the Legacy Architecture components being removed?

Steps to Reproduce

  1. Create a new React Native project: npx @react-native-community/cli@latest init MenuTest
  2. Go to the new project directory: cd MenuTest
  3. Install @react-native-menu/menu: npm install @react-native-menu/menu
  4. Run cd ios, pod install, and cd ..
  5. Try to build the app: npx react-native run-ios

Environment Details

React Native 0.87.0
@react-native-menu/menu 2.0.0
Not using Expo or any other Framework
macOS 26.6.1 with Xcode 26.5 on an Intel Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions