美文网首页Hybrid开发
把RN集成到原生应用遇到两个error

把RN集成到原生应用遇到两个error

作者: 何大双 | 来源:发表于2018-05-25 10:18 被阅读157次

1.Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/xiaona/Desktop/Geek/ericCode/RN/ios/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec

仔细查看了一下配置路径,确实不对,改一下重新pod install

/Users/xiaona/Desktop/Geek/ericCode/RN/ios/RNDemo/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec

2.[!] Unable to find a specification for `boost-for-react-native` depended upon by `Folly`

解决办法:Eric-2:RNDemo eric$ pod install --repo-update 

关于第2个error,Git上面也有人问,可以参考一下:https://github.com/facebook/react-native/issues/14612

相关文章

网友评论

    本文标题:把RN集成到原生应用遇到两个error

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