在项目的目录下,用终端执行:
第一步
cd node_modules/react-native/scripts
./ios-install-third-party.sh
第二步 (可以解决:third-party: ‘config.h’ file not found问题)
cd node_modules/react-native/third-party/glog-0.3.5/
…/…/scripts/ios-configure-glog.sh
在项目的目录下,用终端执行:
第一步
cd node_modules/react-native/scripts
./ios-install-third-party.sh
第二步 (可以解决:third-party: ‘config.h’ file not found问题)
cd node_modules/react-native/third-party/glog-0.3.5/
…/…/scripts/ios-configure-glog.sh