吊舱安装->错误:C编译器无法创建可执行文件

时间:2020-02-16 20:04:37

标签: firebase react-native ubuntu cocoapods

我试图用react-native-firebase(https://rnfirebase.io/docs/v5.x.x/installation/basic-kit)制作一个基本的react native应用程序,但是在第三步中,在IOS文件夹中执行“ pod install”时,我遇到了这个问题:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc...  -arch armv7 -isysroot 
checking whether the C compiler works... no
/bin/bash: line 24: xcrun: command not found
/bin/bash: line 24: xcrun: command not found
/home/mistermboy/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-1f3da/missing: Unknown `--is-lightweight' option
Try `/home/mistermboy/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-1f3da/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/home/mistermboy/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-1f3da':
configure: error: C compiler cannot create executables
See `config.log' for more details
  • 分发者ID:Ubuntu
  • 说明:Ubuntu 18.04.4
  • LTS发行版:18.04
  • 代号:仿生x86_64
  • NPM版本:6.13.4
  • 节点版本:v12.14.1
  • Pod版本:1.8.4

0 个答案:

没有答案