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
- Create a new React Native project:
npx @react-native-community/cli@latest init MenuTest
- Go to the new project directory:
cd MenuTest
- Install @react-native-menu/menu:
npm install @react-native-menu/menu
- Run
cd ios, pod install, and cd ..
- 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
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 foundDoes this have something to do with the Legacy Architecture components being removed?
Steps to Reproduce
npx @react-native-community/cli@latest init MenuTestcd MenuTestnpm install @react-native-menu/menucd ios,pod install, andcd ..npx react-native run-iosEnvironment 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