xcode-select -switch doesn't work: active developer path does not exist

前端 未结 6 1558
灰色年华
灰色年华 2021-02-20 13:22

I have installed Xcode 5 developer preview 3. Before it i had developer preview 2 and now, sometimes in my terminal I see error, for example when I try to autocomplete some comm

6条回答
  •  情歌与酒
    2021-02-20 14:23

    I've got this error after I change the name of Xcode app. I changed Xcode app to Xcode8.1.app. Then I run command

    sudo xcode-select -switch /Applications/Xcode8.1.app/Contents/Developer
    

    and now everything work as beginning.

    Not sure are you in my case and your problem is solved or not. Maybe help another one.

提交回复
热议问题