Again, I decided to come back and keep up with my path to become a full time Web Developer instead of an “IT handyman”. So, I brewed another cup of my favorite Caturra coffee varietal and poured it on my Caturra coffee varietal mug to get some code with coffee inspiration.

I opened my Terminal and wanted to check my git status:

git status

and got error:

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

I had no clue why. Then, I remembered the other day I applied an update to my macOS Mojave version. This seemed to mess things up. I found a solution somewhere. First you should try to reset you xcode install by issuing this command:

xcode-select --reset

The above did not resolve the xcrun: error: invalid active inactive issue. So, I have to re-install it by running the following on my Terminal:

xcode-select --install

It took about 5 minutes and I was able to run git commands again.

Contact me if you have any questions about this xcrun: error: invalid active or other issues with Technology. Remember I designed cool T-Shirts and coffee mugs inspired by tech and my trips. Check out my shop and let me know what you think. Thanks!

Leave a comment

Your email address will not be published. Required fields are marked *