报错信息:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git config --local --replace-all homebrew.private true

可能原因:mac系统升级后,自动卸载xcode
解决办法:

$ xcode-select --install
posted on 2018-10-08 18:17  广坤山货  阅读(162)  评论(0编辑  收藏  举报