React Native 報錯 'config.h' file not found
解決方法:
- 打開終端仅政,進入到項目根目錄
cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh
在xcode中操作clean
快捷鍵:command + shift + k重啟xcode具练,重新build
如果你的Xcode升級到10.0以上版本豹芯,建議卸載重新安裝舊版本贺氓,否則按照上述方法操作为居,依舊還會報錯戚宦。