Homebrew: Your CLT does not support macOS 11.0
I recently upgraded to macOS Big Sur developer Beta 8, when I do brew install jenv
I get the error Homebrew: Your CLT does not support macOS 11.0. I am using CommandLine tools GM version. Tried to reinstall it couple of times, nothing worked so far. Here is the complete error
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
Solution 1:
Simplest solution that worked when upgrading to Big Sur. A clean install may not require the solution below. There is inconsistency with the way CLT is upgraded to 12.2.
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Worked with the following versions (post-install)
❯ /usr/bin/xcodebuild -version
Xcode 12.2
Build version 12B45b
❯ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 12.2.0.0.1.1603499215
volume: /
location: /
install-time: 1605632122
groups: com.apple.FindSystemFiles.pkg-group
Big Sur
11.0.1 (20B29)
Solution 2:
We can fix this by downloading Command Line Tools for Xcode 12.3 from Apple website
Solution 3:
Currently Brew is being updated incrementally to support MacOS Big Sur. You can follow the progress in the corresponding GitHub issue.
There is very little breakage in the core for Big Sur on intel and most of the work is to get core features working on the pre-release Apple Silicon hardware. Most people on Intel hardware and not the DTK should be ready now during beta or very soon after release of the initial version of the OS.