天天看点

xcode替换版本后svn出现的path错误

xcode-select -print-path
可以看到以前的路径:      
/Applications/Xcode6-Beta3.app/Contents/Developer
      
mac 命令行里 编译 链接 出现      
xcrun: error: active developer path ("/Applications/Xcode6-Beta3.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`)
      
在命令行里输入,修改到新路径就行了      
sudo xcode-select -switch /Applications/Xcode6-Beta5.app/Contents/Developer      
就可以解决