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

前端 未结 6 1568
灰色年华
灰色年华 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条回答
  •  -上瘾入骨i
    2021-02-20 14:24

    Sometimes, space characters don't allow to take path correctly. So you may prefer to use \ character to include space into the path like below;

    $ sudo xcode-select --switch /Applications/Xcode\ 10.2.app/Contents/Developer
    

提交回复
热议问题