Here I'm using xcodebuild shell command to build a release version in my react native project, it comes a fatal error:
'React/RCTViewManager.h' file not found
#import <React/RCTViewManager.h>
Xcode version: 8.3
react native version: 0.44.0
Any help ?
This solved the problem for me
Clear node_module folder and package-lock.json rm -rf node_modules && rm package-lock.json
Clean Xcode's Build folder menu product>clean build folder
Reinstall dependencies and link npm install && react-native link
replace the #import <React/RCTViewManager.h>
by #import "RCTViewManager.h"
Hope it helps you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With