Git broken after Upgrade to Mojave (10.14.5)


Second issue that I have found after upgrade my mac to Mojave is that Git stops working. When run git in terminal, it throws the error:

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

This means the command line tools of Xcode is not working properly. It needs either reset or update. For me, the fix is to update it:

 xcode-select --install

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s