Change active Developer Path for Xcode Change active Developer Path for Xcode xcode xcode

Change active Developer Path for Xcode


Have you tried to execute the switch command as root with a sudo command ?

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


There is one more option without terminal, we can change active developer path through Xcode.

Launch Xcode, Go to Xcode -> Preferences -> Locations and in Command Line tools will list down all the installed Xcode list. From the drop down you can select any Xcode for active developer path.

Using this selection, you can set any Xcode (if you have multiple installed Xcode’s in your machine and you want change default one) set as a default active developer path.

Happy Coding :)


Hovanter, There is a possibility that you have multiple Xcode versions in your Application folder. Also you might have updated the name of your Xcode.

Search your 'Xcode name' from Application folder and then enter the command below :sudo xcode-select -switch /Applications/"Xcode name.app"/Contents/Developer

It worked for me. How about you?