2017年11月16日

  • Mac OSX 升级系统后 Git 出现 Error Running Git

    2017-11-16 17:55:28 23268 0 技术文章

    Mac 更新系统后 Git 不能用,提示信息如下:

    errors while executing git -- version. exitCode=1 
    errors: xcrun: error : invalid active developer path(/Library/Developer/CommandLineTools),missing xcrun at:
    /Library/Developer/CommandLineTools/usr/bin/xcrun
    

    解决办法:

    xcode-select --install