HomeiOS Developmentios - React Native xcode 'React/RCTBridgeModule.h' file not discovered

ios – React Native xcode ‘React/RCTBridgeModule.h’ file not discovered


I’ve tried to create a primary react native app with out utilizing and as an alternative utilizing React cli. It has been an entire night time mare up to now, I am at the moment simply attempting to get one thing constructed for IOS first, so have been going by way of figuring learn how to arrange regionally together with xcode so I can evaluation every part wanted there.

I’m at the moment getting this error:

'React/RCTBridgeModule.h' file not discovered

I’ve:

  • Checked the React module is current in node_modules and is the most recent model.
  • Deleted the node_modules folder and rebuilt it.
  • Test that that is current ‘”$(SRCROOT)/../node_modules/react-native/React”‘, in Xcode > Construct Settings > Header Search Paths
  • Run pod set up in ios listing
  • Copied it to a completely new undertaking and opened ios/.MyProject.xcworkspace

At every stage I’ve cleared and construct with the identical error (Product > Clear Construct Folder, Product > Construct)

That is all of the specifics I can recall of what I’ve drained, I’ve spent many hours on this attempting every part I can discover on-line.

xcode: 14.2
react: 18.2.0
react-native: 0.71.4

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments