Skip to content

Instantly share code, notes, and snippets.

@fgonzal
Created October 8, 2019 17:32
Show Gist options
  • Select an option

  • Save fgonzal/ebaaf15813c9164cebdc6f42e2b13ead to your computer and use it in GitHub Desktop.

Select an option

Save fgonzal/ebaaf15813c9164cebdc6f42e2b13ead to your computer and use it in GitHub Desktop.
MacOS Error: "invalid active developer path (/Library/Developer/CommandLineTools))"
The following error shows up when the XCode command line is outdated:
```
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
```
To fix it, just do the following on a Terminal window:
```
xcode-select --install
```
For further info, please visit https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-mojave-update-xcrun-error-invalid-active-devel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment