Git is not working after macOS Update

Yesterday I updated my macOS to latest Catalina version. After updating it GIT was not working. That always happens to me :-).

I was getting following error.

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

 

Many of you might also get this error. So the solution is pretty simple. Just follow a couple of steps and solve the problem.

Step 1: Open Terminal and run following command

xcode-select --install

Step 2: After this command, there will be a prompt to update the software. So update that.

And wait for the software to be updated.

That’s it.

 

Ref: https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa

Related Articles

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.

Fun @ WordCamp Pune

In my previous blog First WordCamp, I covered what we have done in WordCamp. Now in this blog, you will know what fun we did…

PHPCode Sniffer + Sublime on windows

Things you need for: cmder composer Sublime Text 2/3 We are going to install using composer, because it will automatically install related packages. So no…

Fix – svn: error: The subversion command line tools are no longer provided by Xcode.

Recently I got the following error on my Mac Terminal when I tried svn command. svn: error: The subversion command line tools are no longer…

Fix Unhandled rejection Error: EACCES: permission denied

I was trying to install gulp on my mac. But I was getting following errors while running command sudo npm install gulp -g Unhandled rejection…