React-Native 'config.h' file not found

git下载一个RN项目,环境配好后run xcode,就等编译成功,然后xcode报错'config.h' file not found,傻眼!如图:


React-Native 'config.h' file not found_第1张图片
报错截图.png

操作方法:

终端进入node_modules文件夹所在目录,输入下列命令行,

cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh

你可能感兴趣的:(React-Native 'config.h' file not found)