一.卸载了Xcode之后,git指令报错
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Usesudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or usexcode-select --installto install the standalone command line developer tools.
Seeman xcode-selectfor more details.
解决方案:
sudo xcode-select -r
sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
xcode-select -p






网友评论