High Sierra (10.13) 升级到 Mojave(10.14)执行命令报错 missing xcrun
现象
High Sierra (10.13) 升级到 Mojave(10.14)执行命令 git 报错 missing xcrun
1 | xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools ), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun |
解决
1 | xcode-select --install |