React Native 0.62,操作系统 Debian 10 Buster
我正在尝试为 React Native 项目运行 ios 模拟器。为此,我在 ios 文件夹中运行“pod install”并发现错误:
...
./configure --host arm-apple-darwin
...
checking for arm-apple-darwin-gcc... -arch armv7 -isysroot
checking whether the C compiler works... no
/usr/bin/bash: line 24: xcrun: command not found
/usr/bin/bash: line 24: xcrun: command not found
/home/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
Try `/home/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/home/user/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
configure: error: C compiler cannot create executables
See `config.log' for more details
怎么修?