I. Scenario:
Command Line tools must be installed when git is used in MAC and xcode4.6 environments. However, after xcode5 is installed, command line tools does not need to be installed. By default, command line tools has been integrated; however, I installed xcode4.6 first, and later installed xcode5, that is, when I installed two versions of xocde on Mac but used git on the terminal, the following error occurs:
Ii. Error
Xcrun: Error: Active developer path ("/users/Apple/desktop/xcode5.app/contents/developer") does not exist, use xcode-select to change
Iii. solution:
Under the terminal:
Sudo xcode-select-switch/applications/xcode5.app/contents/Developer
Note: The above xcode5.app is based on the situation, because after my xcode is installed, the name is changed to xcode5. So here, xcodee5.app, if you do not have a license, is xcode. App.
Mac git xcrun error active developer path Error