Solving - 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
Software Development
by Jey Geethan | March 16, 2018

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.


Related Articles

[VB.NET] Finding whether its Design Mode or Runtime Mode for Forms
Software Development

[VB.NET] Finding whether its Design Mode or Runtime Mode for Forms

by Jey Geethan | November 06, 2008
Sometimes, while creating controls, either by Inherited Controls or UserControls, we will be required to skip a piece of code depending upon the design time or runtime mode.

Why Microservices?
Software Development

Why Microservices?

by Jey Geethan | December 16, 2022
I have a few tidbits about why to use microservices and why it makes sense to create few microservices as a side project and learn from the same