-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[v3] [iOS] 'React/RCTConvert.h' file not found #5258
Comments
I got the same issue today & took me half of a day trying different approach. |
Thanks @thinhtran3588! Works great! Here are the steps for anyone else running into issues on React Native 0.60
|
Here steps what I've done to get it works for RN 060.
After that you will be able to #import <ReactNativeNavigation/ReactNativeNavigation.h> in AppDelegate.m |
Had the exact same issue, and the magic step missing for me was the |
In Xcode, in Project Navigator (left pane), right-click on the Libraries > Add files to [project name]. Add node_modules/react-native-navigation/lib/ios/ReactNativeNavigation.xcodeproj-------> need select copy files option |
AppDelegate.m doesn't give me problems now but the If I rename Have someone figured it out? Why is this issue closed? RNN 3.2.0 |
To solve the issue, you have to do the following:
|
I've tried @airman00, @softmastx and @hb12devtn solutions and am still facing this as I try to upgrade to React Native v0.61.4. |
I was on an old version. After upgrading @softmastx solution fixed the issue. |
Issue Description
I've installed React Native Navigation V3 on a fresh install of React Native 0.60, manually as per the instructions here:
https://wix.github.io/react-native-navigation/#/docs/Installing
yarn add react-native-navigation@3.0.0-alpha.2
I am getting this error when I try to build:
/Users/{name}/App/node_modules/react-native-navigation/lib/ios/RNNOptions.h:2:9: 'React/RCTConvert.h' file not found
If I go to Product > Edit Scheme > Build (3 targets), I see
React(missing)
which I'm assuming is what is causing the problem. When I try to addReact
with the plus sign, there is no option forReact
in React Native 0.60. Only the following, and I've tried React-Core with no success.Any idea what might be going wrong?
Steps to Reproduce / Code Snippets / Screenshots
Environment
The text was updated successfully, but these errors were encountered: