xcrun: error: active developer path

xcrun: error: active developer path ("/Applications/Xcode 2.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`)

 

每次我更新Xcode,然后再更新SVN的时候,总会有这个提示。

解决办法:

xcode-select --switch path/to/Xcode.app

即在命令行里输入这些东西就可以。

 

我写的是:

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

公式模板是:

sudo xcode-select --switch (新Xcode的路径)

 

完毕~鼓掌~

posted @ 2015-06-03 11:54  羊羊羊🐑  Views(276)  Comments(1Edit  收藏  举报