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
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