美文网首页
原生项目集成reactNative遇到的坑

原生项目集成reactNative遇到的坑

作者: 孟维学 | 来源:发表于2018-05-17 11:20 被阅读76次

1.报错"[!] No podspec found for React in ./node_modules/react-native" 。

解决办法 :使用node_modules/react-native的绝对路径.

2.[!] The name of the given podspec `yoga` doesn't match the expected one `Yoga`

解决办法:将cocoapods 中Yoga 改成yoga

注:我这么做是可以的.微信:mengwx11101

相关文章

网友评论

      本文标题:原生项目集成reactNative遇到的坑

      本文链接:https://www.haomeiwen.com/subject/mzqbdftx.html