Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save liangmeijing89/5cdbd200d319b50099eb0f6527d7e656 to your computer and use it in GitHub Desktop.
Save liangmeijing89/5cdbd200d319b50099eb0f6527d7e656 to your computer and use it in GitHub Desktop.
MacOS (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools))
If you are facing an error like that on new MacOS version.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
It means that you need to install XCode command line, open a Terminal and run this command:
$ xcode-select --install
Note:
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment