Xcode 10: Build input file double-conversion cannot be found

Xcode 10: 运行RN 工程 报错

❌  error: Build input file cannot be found: '/Users/zqt/TGReactNative/node_modules/react-native/third-party/double-conversion-1.1.6/src/strtod.cc'
▸ Compiling fast-dtoa.cc
❌  error: Build input file cannot be found: '/Users/zqt/TGReactNative/node_modules/react-native/third-party/double-conversion-1.1.6/src/fast-dtoa.cc'
▸ Compiling fixed-dtoa.cc
❌  error: Build input file cannot be found: '/Users/zqt/TGReactNative/node_modules/react-native/third-party/double-conversion-1.1.6/src/fixed-dtoa.cc'

解决方法

cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../
cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh && cd ../../../../

参考:github :https://github.com/facebook/react-native/issues/21168

你可能感兴趣的:(Xcode 10: Build input file double-conversion cannot be found)