Last active
October 30, 2017 18:30
-
-
Save kbshl/c0f4f176a5e42d7fcc6eaa67816d1a78 to your computer and use it in GitHub Desktop.
Switch Xcode version from CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# print current selected Xcode path | |
xcode-select --print-path | |
# switch to another version of Xcode | |
sudo xcode-select --switch /PATH/TO/YOUR/OTHER/XCODE/Xcode45.app | |
# switch back to main Xcode version / installation | |
sudo xcode-select --switch /Applications/Xcode.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment