一、 日常报错:'config.h' file not found
- cd node_modules/react-native/third-party/glog-0.3.4
- ../../scripts/ios-configure-glog.sh
复制代码
clean the project and build again, the error is gone 其实执行 .sh 命令之后Terminal界面的一些处理流程,我们不难看出,这个命令是check .h头文件的引用情况,然后建立关联关系.
二、日常报错:RCTWebSocket.a 不能找到libfishhook.a
1、找到RCTWebSocket.xcodeproj 2、找到Build Phases的Link Binary With Libraries, 点击减号去掉libfishhook.a引用 3、再加回去: 点加号把libfishhook.a引用
|