-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
'RCTDefines.h' file not found and React (missing) #686
Comments
Looks like you're running into the issue caused by some changes in RN 0.50 with how |
Actually I'm not sure where this issue lies. I will list my steps:
Now when I open my .xcworkspace in Xcode and go to Product > Scheme > Edit Scheme > Build, React is missing. I can run 'yarn' again and it brings it back, but then after I install another package, ex 'npm i --save redux', it just starts from step 8 again. So to sum it up, first I get 'Command 'link' unrecognized', even though I just created the project moments before and cd into it. Then when I try to install other packages using npm i --save [package], it acts like it is installing react-native-firebase again but deletes other packages and then React is missing inside Xcode. Problem with react-native, npm or RNF? Node: 8.1.2 |
Created a new project, followed the steps below
Seems to be an issue outside this package. |
Issue
I have been following the guide to install for iOS and my build fails with error 'RCTDefines.h' file not found. In Xcode, if I go to Product > Scheme > Edit Scheme > Build, it shows React (missing). I found this issue #541 where @chrisbianca posted a solution that involved adding the React pod to the pod file by adding
but this just gives me the error
My podfile looks like
I can post any other code needed.
Environment
The text was updated successfully, but these errors were encountered: