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

前端 未结 6 1556
灰色年华
灰色年华 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:09

    If you do a:

    man xcode-select
    

    It tells you to set the path with:

    xcode-select -s /Applications/Xcode-DP4.app
    

    As I've just switched to DP4 to test. That worked for me. I didn't see it point to any of the .app contents. I guess this was probably changed from previous versions...

提交回复
热议问题