Mac下运行git报错"xcrun: error: invalid active developer path .."

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

如图:

解决方法:

终端输入:

xcode-select --install

之后点击安装即可:

 

posted @ 2017-01-13 18:25  EasonJim  阅读(4561)  评论(0编辑  收藏  举报