Created
July 30, 2015 01:57
-
-
Save dinhnguyen/035b7f07304b69125db5 to your computer and use it in GitHub Desktop.
Fixing xcrun: error: invalid active developer path (/usr/bin), missing xcrun at: /usr/bin/usr/bin/xcrun in OSX 10.9 Mavericks
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
Fixing xcrun: error: invalid active developer path (/usr/bin), missing xcrun at: /usr/bin/usr/bin/xcrun in OSX 10.9 Mavericks | |
When using git for the first time in OSX Mavericks you may run into a problem where you get the following error: | |
xcrun: error: invalid active developer path (/usr/bin), missing xcrun at: /usr/bin/usr/bin/xcrun | |
This error indicates can be fixed by running the following commands: | |
sudo xcode-select --install | |
This will force the Xcode command line tools to be reinstalled. Now we just run the following command to point xcrun to the correct path for the reinstalled tools: | |
sudo xcode-select -switch / | |
Credit to people in this homebrew issue thread for identifying this fix: | |
https://github.com/mxcl/homebrew/issues/23500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment