Fork me on GitHub

升级mac Mojave系统,git无法使用

升级mac Mojave系统后 无法使用git,出现如下问题
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决
安装Command Line Tools,Command Line Tools是在Xcode中的一款工具
xcode-select --install

posted @ 2018-12-02 17:12  fozero  阅读(656)  评论(0编辑  收藏  举报