Howto Reinstall Xcode CLI on Big Sur
After system upgrade to MacOS Big Sur, Homebrew couldn’t upgrade some packages.
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.
Classic command, when stuff doesn’t work
xcode-select --install won’t help.
mufasa:~ control$ sudo xcode-select --install Password: xcode-select: error: command line tools are already installed, use "Software Update" to install updates
I followed steps from https://www.mobibrw.com/2020/28175:
$ sudo rm -rf /Library/Developer/CommandLineTools $ sudo xcode-select --install
In the end you’ll still get this warning:
mufasa:~ control$ brew upgrade Warning: You are using macOS 11.0. We do not provide support for this released but not yet supported version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this released but not yet supported version.
but everything works as expected.