X-code build fails - React/RCTBridgeModule.h file not found
See original GitHub issueX-code version: 10.3 React native version: 0.59.8 When building I’m getting an error
Lexical or Preprocessor Issue Group
/node_modules/react-native-file-viewer/ios/RNFileViewerManager.h:2:9: 'React/RCTBridgeModule.h' file not found
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
`React/RCTBridgeModule.h` file not found - Stack Overflow
In my case this particular problem happened when I was trying to archive a 0.40+ react-native app for iOS (solution was found here:...
Read more >[iOS - RN 0.61.1 migration] React/RCTBridgeModule.h file not ...
So I tried to add ReactCore + ReactCoreModule, but failed :D Looking forward to finding a new workaround. I would try to unlink...
Read more >iOS : Build failed 'React/RCTBridgeModule.h' file not found
iOS : Build failed ' React / RCTBridgeModule. h ' file not found [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >Fatal error: 'React/RCTBridgeModule.h' file not found
Hi Team, I am getting this error( fatal error: 'React/RCTBridgeModule.h' file not found #import “React/RCTBridgeModule.h”) while building ...
Read more >Ios – Build failed 'React/RCTBridgeModule.h' file not found
I tried to clean my project : rm -rf node_modules; yarn cache clean && yarn install; rm -rf ios/Pods/ && pod install. In...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to make it work by doing yarn add
react-native-file-viewer
(do NOT do areact-native link
afterwards), addpod 'RNFileViewer', :path => '../node_modules/react-native-file-viewer'
in the Podfile and then apod install
in theios/
folder did the trick, using RN 0.59.10.@elourenco and @SelvaraniAlagumuthu have you tried running
cd ios && pod install
?react-native link
is not required since RN 0.60.