mac OS X El Capitan xcrun: error: invalid active developer path missing xcrun at

Mac OS X EI Capitan升级之后,运行git出现如下错误:

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

解决方式,运行如下的命令:

xcode-select --install

参考地址
1. http://tips.tutorialhorizon.com/2015/10/01/xcrun-error-invalid-active-developer-path-library-developer-commandline-tools-missing-xcrun/

你可能感兴趣的:(mac)