Hybrid开发

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

2018-05-25  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读