RCTConvert.h yoga/Yoga.h file not found
See original GitHub issueI am logging this as a bug as it seems like a bunch of people have logged it as an issue on Stackoverflow … but seems to be a bug http://stackoverflow.com/questions/41505616/yoga-yoga-h-header-file-not-found-after-react-native-integration-in-the-existing
Upgraded to latest react-native 0.4.0
Build project for iOS on Xcode and you get the error message: /Users/adamginsburg/Documents/development/buzzy9/node_modules/react-native/React/Base/RCTConvert.h:13:9: 'yoga/Yoga.h' file not found
- React Native version: 0.4.0
- Platform: iOS
- Operating System: The build issue happen on XCode 8
Issue Analytics
- State:
- Created 7 years ago
- Reactions:45
- Comments:88 (19 by maintainers)
Top Results From Across the Web
yoga/yoga.h file not found RCTConvert.h - Stack Overflow
I am getting this error using RN0.62.2 / Xcode 11.3. I have the specified yoga pod in my podfile. Any idea what I...
Read more >react/rctconvert.h' file not found firebase
This FREE slow-paced all-levels yoga class combines Hatha and Yin styles of yoga to help you reduce stress and tension in both your...
Read more >Something Wrong with React Native | by Arjun Singh Rajput
React/RCTBridgeModule.h file not found. Then I figure out React is missing from the scheme . It was very weird, I read some of...
Read more >'React/RCTAnimationType.h' file not found - Bountysource
Hi ! I'm trying to build this lib in iOS but I have this error on the file 'RCTConvert.h': 'React/RCTAnimationType.h' file not found...
Read more >React Native / Xcode Upgrade and now RCTConvert.h not found
0 via react-native-git-upgrade I get a number of lexical/preprocessor issues when trying to build/run the app in XCode. React/RCTBridgeModule.h' file not found.
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 Free
Top 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
This solution probably won’t work for everyone but when I commented out
use_frameworks!in my pod file, theyoga/Yoga.h file not founderror went away.@kmuralidharan91 You don’t need all the above fixes anymore, remove your patch function in your Podfile, remove the postinstall script in your package.json, just put react-native’s v0.42.0-rc.3 tag or master branch in your dependencies and add yoga as a pod dependency and it should work
package.json:
Podfile:
Don’t forget to change all your
#include "RCT..."to#include <React/RCT...>too