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

Mac更新到Sierra之后git命令都不好使了。

MYPC:prjroot jinxing$ git pull
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决方法

xcode-select --install

就ok了

你可能感兴趣的:(SHELL,其他)