【已解决】Mac OS Upgrade Xcrun Error

简介

Mac系统版本升级到10.15.6后,Goland IDE 编译 go 项目时报错:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决

xcode-select --install

这时如果还是报错,请执行这个:

sudo xcode-select --reset

参考

updatedupdated2021-02-182021-02-18