RN错误收集

2018-11-22  本文已影响5人  和谐共处

third-party目录不存在

解决方案

cd node_modules/react-native/scripts
sh sh ios-install-third-party.sh
把创建的third-party目录移动到node_modules/react-native/文件夹下
然后执行下面的third-party: 'config.h' file not found的方案

third-party: 'config.h' file not found

解决方案

#在项目根目录下运行以下命令即可解决:

cd node_modules/react-native/third-party/glog-0.3.4

../../scripts/ios-configure-glog.sh

Build input file cannot be found: '../node_modules/react-native/Libraries/WebSocket/libfishhook.a'

解决方案

操作:
Xcode打开项目
/Libraries/RCTWebSocket.xcodeproj-->
TARGET-RCTWebSocket--->
Build Phases-->
Link Binary With Libraries--->
点击下面的加号+ --->
搜索libfishhook,选中libfishhook.a,然后点击Add按钮即可
上一篇 下一篇

猜你喜欢

热点阅读