xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)的解决办法

MAC下遇到 xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)的解决办法:

卸载了Xcode或者升级Xcode,Android Studio中的svn突然不好用了,不要着急,在命令行中输入一下三行命令,即可搞定!

sudo xcode-select -r

sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools

xcode-select -p

你可能感兴趣的:(xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)的解决办法)