yoga/yoga.h file not found RCTConvert.h

♀尐吖头ヾ 提交于 2021-01-28 09:21:38

问题


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:


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 error even did the above just try to add following into your pod file

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

and run "pod install"



来源:https://stackoverflow.com/questions/53678999/yoga-yoga-h-file-not-found-rctconvert-h

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!