Recently I have updated Mojave and on accessing git commands I am getting below error message:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Recently I have updated Mojave and on accessing git commands I am getting below error message:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I got the solution for the same, write the below command in terminal, it will install a software and problem will be resolved:
xcode-select --install