-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'RCTRootView.h' file not found #11
Comments
@ColinUNCG - did you resolve this? maybe you need to do a npm install or make sure the search paths are pointing to the correct react native directory in node modules |
I too have this issue. |
Not sure if this is the proper way to do it but this worked for me. |
How to �fix this bug? T_T |
I have solve this issue by using:npm install.At least,it helped me for once. |
I've solved it by #import <React/Base/RCTRootView.h>, if you use cocoapods install the react native part. |
Running |
I have the issue too |
npm install works for me. |
npm install is so slowly |
I reanmed the project in package.json and run react-native upgrade. |
Restarting xcode fixed the issue for me |
npm install at source root path is work for me |
Close Xcode and run 'npm install' again. It worked. |
what node version are you guys on? For those who got the npm install to fix it |
Building Setting -> Header Search Paths -> "${PODS_ROOT}/Headers/Public/React" |
Hi, if the above methods have not solved your problem, then you can try my method: |
Open 'Build Settings', search 'Header Search Path'. Double click next to 'Header Search Path', where other properties have a 'yes' or 'no' Now add following to the "Header Search Path" (under Build Settings): $(SRCROOT)/../node_modules/react-native/React Make it recursive. |
“Cmd +Shift + Enter + K” keys to clear cache and then build project worked for me |
can anyone tell me how to fix this issue?
The text was updated successfully, but these errors were encountered: