mac 用idea从git上下载项目的时候出现错误: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决办法 打开终端输入: xcode-select --install 重启intellij idea即可