升级macOS Monterey后git出错 - 查了一下居然要装xcode
升级了macOS Monterey后发现git clone不能用了? 通过git --version命令,报错 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun。
查了一下居然要装xcode?执行以下命令安装。
xcode-select --install 拼多多帮助力入口
等,等,等,装完果然OK了。