Mac git错误的问题

Mac 下执行go get -u github.com/astaxie/beego时出错,因本机包含Xcode5,Xcode6

执行git时出现如下错误提示:

#git
xcrun: error: active developer path ("/Applications/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer


OK

你可能感兴趣的:(git,mac)