yoga/yoga.h file not found RCTConvert.h

2.5k Views Asked by At

I keep getting this error message whenever I do a pod install. I put 'use frameworks' and then this error pops up. When i remove the pod install my app is able to load. Can someone please assist me with what is wrong?

Thank you in advanced!

1

There are 1 best solutions below

5
On
  1. First thing if you are using pods in your project you should open ios/Project_Name.xcworkspace instead of ios/Project_Name.xcodeproj in Xcode

  2. If you get an error even did the above just try to add the following into your pod file

    pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

and run "pod install"