1: 卸载 xcode,发现git报错了。
mac git xcrun error active developer path 错误
解决办法:sudo xcode-select -switch /
安装完xcode,需要改下xcode-select 配置: