安装Xcode踩坑

2020-05-21  本文已影响0人  资本家大恶人

1.报错问题

Error: An exception occurred within a child process:
  CompilerSelectionError: mongodb/brew/mongodb-community cannot be built with any available compilers.
Install GNU's GCC:
  brew install gcc

执行brew install gcc

Error: The following formula
  gcc
cannot be installed as binary package and must be built from source.
Install the Command Line Tools:
  xcode-select --install

执行 xcode-select --install

xcode-select: note: install requested for command line developer tools

2.报错问题

DownloadError: Failed to download resource "libimobiledevice"

更换下载镜像,git clone --branch master https://github.com/libimobiledevice/libimobiledevice.git /Users/用户名/Library/Caches/Homebrew/libimobiledevice--git

上一篇 下一篇

猜你喜欢

热点阅读