Mac OS X El Capitan upgrade – xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

You’ve just upgraded to Mac OS X El Capitan, used git (or some other commands from terminal) and encountered this error

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

you can “fix” this by running this command in your terminal

sudo xcode-select --install

a dialog will appear prompting you to install, just follow instructions and after install try your command again and it should be back to normal working state

Hope all that works well for you

More details on


Posted

in

by

Tags: