git下载一个RN项目,环境配好后run xcode,就等编译成功,然后xcode报错'config.h' file not found,傻眼!如图:
操作方法:
终端进入node_modules文件夹所在目录,输入下列命令行,
cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh
git下载一个RN项目,环境配好后run xcode,就等编译成功,然后xcode报错'config.h' file not found,傻眼!如图:
终端进入node_modules文件夹所在目录,输入下列命令行,
cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh