ReactNative 新建項目 Xcode 運行出錯
'config.h' file not found
cd node_modules/react-native/third-party/glog-0.3.4 注意glog-0.3.4 可能是glog-0.3.5
./configure
cannot run C compiled programs.
uname -m

image.png
./configure --host=x86_64
Build input file cannot be found: '/Users/liepin/Desktop/XXX/node_modules/react-native/Libraries/WebSocket/libfishhook.a'

image.png
刪除重新添加
Module @babel/runtime/helpers/interopRequireDefault

image.png
npm add @babel/runtime
關閉服務,再次運行