最近系统升级到macOS Big Sur(11.0.1)之后,系统报告如下错误:
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Error: An exception occurred within a child process:
SystemExit: exit
解决方案如下:
$ sudo rm -rf /Library/Developer/CommandLineTools
$ sudo xcode-select --install
参考链接
https://apple.stackexchange.com/questions/401899/homebrew-your-clt-does-not-support-macos-11-0
https://github.com/GoogleContainerTools/kpt/issues/962