Skip to main content

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



If you recently updated to macOS High Sierra and tried to run git commands you would face this error:

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

You can do the following to solve this problem:

xcode-select --install 

This will basically install/reinstall the xcode developer tools and your problem will be solved.

Comments

Featured

How to Get Color Prompts on your MacOS Terminal

Have you ever wondered that you would want colors to pop up on your terminal? I did and it made my life easier. It helped me to understand very quickly about the following:
Which folder im currently inWhich git branch my local workspace is inWhat terminal commands I have issued All you have to do is to use the following script in your ~/.bash_profile
Gist link: https://gist.github.com/gten/a6d261d32cea97e9a52b82f48989c07f


You will receive wonderful short stories written by him and inspirational articles once every month.