Skip to content

Instantly share code, notes, and snippets.

@MohamedElashri
Created March 15, 2021 09:05
Show Gist options
  • Save MohamedElashri/025cd94b1947d14c30f89471864dad8e to your computer and use it in GitHub Desktop.
Save MohamedElashri/025cd94b1947d14c30f89471864dad8e to your computer and use it in GitHub Desktop.
Mac OS: xcrun: error: invalid active developer path, missing xcrun #Mac

When trying to install ROOT I ran into this error

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

To solve the problem I had to re-install developer toolkit

xcode-select --install

In case this doesn't work you can force reset.

sudo xcode-select --reset

It takes some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment