天天看點

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      
就可以解決