xcrun: error: invalid active developer

The Mac upgrade to 10.15.3, git can not use the
error: Information
xcrun: error: invalid active developer path (/ Library / Developer / CommandLineTools)

xcrun: error: invalid active developer

Solution:
terminal operation:

xcode-select --install

Guess you like

Origin blog.51cto.com/wenxi123/2478116