赞
踩
-> git
xcrun: error: active developer path
("/Applications/Xcode.app/Contents/Developer")
does not exist, use `xcode-select --switch path/to/Xcode.app`
to specify the Xcode that you wish to use for command line
developer tools (or see `man xcode-select`)
解决办法
xcode-select --install
# 单独安装CommandLineTools,不需要Xcode
sudo xcode-select --switch /Library/Developer/CommandLineTools
# 指定路径
再执行 git,显示OK了。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。