77

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
84

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)

| improve this answer | |
  • After doing this, I was able to brew upgrade ruby-build --fetch-HEAD. – Zubin Nov 16 at 10:55
  • Perfect, only solution I could find elsewhere - Fixed brew with: Upgraded: gradle 6.7 -> 6.7.1 jenkins 2.266 -> 2.267 node 15.2.0 -> 15.2.1 imagemagick 7.0.10-38 -> 7.0.10-39 – NOTiFY Nov 18 at 11:44
34

We can fix this in couple of ways

  1. Download Command Line Tools for Xcode 12.2 from Apple website
  2. Or as suggested by kontinuity use the following commands to delete existing command line tools and clean install new version
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
| improve this answer | |
  • Like Jadda says, installing Xcode 12.2 beta 2 fixes the error, but I also had to delete previous Xcode install. – Andreu Biset Oct 4 at 12:09
  • 1
    The latest XCode 12.2 beta is 10.6GB, and can be found here. – Ben Butterworth Oct 23 at 9:53
  • To delete previous install: stackoverflow.com/a/33812614/2043134 – thomas_inckx Nov 13 at 16:04
  • 4
    FYI for everywhere who landed here after official Big Sur release: You might need to open XCode to get the "install command line tools" dialog, any other option didnt work for me. – Sliq Nov 14 at 14:15
8

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.

| improve this answer | |
  • Excellent resource - please roll back my edit if it’s too cautious. – bmike Oct 13 at 22:42
  • The referenced git issue is about Apple Silicon, not macOS 11. – Jason R. Coombs Nov 14 at 17:37
2

Xcode is installed?

If you installed the Command Line Tools (CLT) and later installed Xcode, make sure the CLT where removed [sudo] rm -rf /Library/Developer/CommandLineTools and inside Xcode preferences Locations the CLT is set to Xcode.

There is no need to install any beta version if you have the newest Xcode installed.

Version 12.2 (12B45b)

Otherwise

The solution kontinuity mentioned should help you.

Simplest solution that worked when upgrading to Big Sur. A clean install may not require the solution below. I believe there is some inconsistency with the way CLT is upgraded.

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

Big Sur
11.0.1 (20B29)
| improve this answer | |
0

I wanted to add, that the homebrew project has a tool to tell you how to fix Xcode tools related errors. Not all errors by "doctor" need to be fixed, but the ones relating to xcode-select and softwareupdate will fix tools issues on supported versions.

For the window while an OS is in pre-release and released-but-not-yet-supported, you will have to resort to answers like the ones here to manually fix the automated setup process.

| improve this answer | |
-1

I Got similar type error when I am tried to install via terminal. Please check below 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.

I resolved issue download latest command line tool (CLT) via below link. https://developer.apple.com/download/more/

I use Xcode 12.2 and I downloaded CLT 12.2 via this link. Try It....

| improve this answer | |
  • How does this differ from apple.stackexchange.com/a/402377/237 – mmmmmm Nov 18 at 11:05
  • You will find different CLT version. – Kaushal Bhalara Nov 18 at 11:09
  • Which version both your answer and the older one say 12,2 – mmmmmm Nov 18 at 11:13
  • I am using Xcode 12.2 so I download CLT 12.2. In future, it will upgrade. According to them, you need to download that version. – Kaushal Bhalara Nov 18 at 11:16
  • apple.stackexchange.com/a/402377/237 Which is what the othercanswer says. How does your answer differ from t he other. what is the exact error n the other answer – mmmmmm Nov 18 at 11:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .