Tag Archives: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

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

macbook pro m1 pro run git error:

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

Follow the prompts to install xcrun

Enter at the command line

xcode-select --install

Select Install. You can also directly install Xcode and then make relevant settings.