How to fix Git error ‘invalid active developer path’ after macOS Mojave Update


When you tried to run Git on terminal after update macOS Mojave, you will get error “xcrun: error: invalid active developer path”. The issue is that you are using XCode and Xcode Command-line Tools needs to be updated. So open Terminal, and run the below command: After this you will get After the update is completed, open a new terminal window and your development tools should be returned.

Read More