react-native 0.57 run-ios 失败解决办法

React Native 日常报错 'config.h' file not found

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_28978893/article/details/78720488

这里写图片描述

解决方法:

 cd node_modules/react-native/third-party/glog-0.3.5

../../scripts/ios-configure-glog.sh

clean the project and build again, the error is gone

其实执行 .sh 命令之后Terminal界面的一些处理流程,我们不难看出,这个命令是check .h头文件的引用情况,然后建立关联关系

原文地址:https://www.cnblogs.com/honeynm/p/9949639.html