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

使用 RN 的项目,XCode 10 ,编译时候会报这个错。

原因: 新XCode 执行某脚本的时候,相对路径找错了

# 本脚本的目的是解决升级了 xcode 10 之后,编译时报错 找不到 config.h 的问题
cd ./node_modules/react-native/third-party/glog-0.3.4 
sh ../../scripts/ios-configure-glog.sh

猜你喜欢

转载自blog.csdn.net/qhexin/article/details/83350180