React-Native 'config.h' file not

2018-04-11  本文已影响0人  oc123

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


报错截图.png

操作方法:

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

cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh
上一篇 下一篇

猜你喜欢

热点阅读