20

Today the App Store is offering me the Command Line Tools for Xcode 10.0 beta 1.

enter image description here

I do not recall ever signing up as a beta tester for any Apple software. Why do I get this update and how can I prevent such beta software from being accidentally installed on my system?

I have macOS 10.13.5 and Xcode 9.4. I also have MacPorts with clang 6.0 (newer than the one in Xcode, but it shouldn't interfere).


Update 2019-06-04: It is happening again, this time it is offering "Command Line Tools beta 1 for Xcode 11.0". This seems to be a mistake on Apple's part again (see the accepted answer).

Update 2020-09-15: Again with "Command Line Tools beta 5 for Xcode 12.0".

4
  • 4
    Anyone reading this that uses developer tools head warning -- This will break everything, especially homebrew. I had to reinstall XCode to reinstall old tools just to get my dev tools working again.
    – Jahhein
    Jun 5, 2018 at 15:07
  • 1
    @Jahhein Updated my answer with a link to the removal package.
    – grg
    Jun 5, 2018 at 16:03
  • @grg good looking out for others! I'm actually surprised you managed to find them. All I could find was the already distributed beta tools.
    – Jahhein
    Jun 5, 2018 at 20:54
  • 4
    FYI: This is happening yet again for "Command Line Tools beta 1 for Xcode 14.1" in macOS Monterey 12.6 (21G115) this morning. sigh... Sep 27, 2022 at 15:45

2 Answers 2

23

Apple has also now fixed the same issue which occurred with macOS 10.14 Mojave offering CLTools for macOS 10.15 Catalina. For a short time, the 10.14 catalog included 10.15's tools, but this has since been removed from this catalog and only included in the beta catalog.

A removal package has not been provided for removing the 10.15 tools specifically this year. You can try removing the tools using the removal package for 10.14 or removing them completely, then reinstall them:


Apple fixed the issue for macOS 10.13 High Sierra. Refresh the updates with ⌘R and the update should disappear.

This was a bug on Apple's part. Apple has incorrectly released this update to everyone, not just those on a beta upgrade path.

If the update is still shown, you can hide it by right-clicking and choosing Hide Update.

Hide Update from list

If you've installed the update and realised your tools are broken, you can remove these tools using CLTools_macOS_SDK_Remove_1014.pkg from Apple:


The update was incorrectly provided in the default software update catalog on High Sierra: https://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz.

The update is provided for beta and developers in their associated catalogs:

<dict>
    <key>Digest</key>
    <string>82bddd90f3152da26424d8c6fb7264763a3eee78</string>
    <key>Size</key>
    <integer>26082625</integer>
    <key>MetadataURL</key>
    <string>https://swdist.apple.com/content/downloads/01/53/091-65367/h0b7b20hoylsqj7pih1htv5b9oa9y4z4gq/CLTools_SDK_macOS1014.pkm</string>
    <key>URL</key>
    <string>http://swcdn.apple.com/content/downloads/01/53/091-65367/h0b7b20hoylsqj7pih1htv5b9oa9y4z4gq/CLTools_SDK_macOS1014.pkg</string>
</dict>
9
  • 2
    So, there is nothing broken on my system, and everyone else is getting this update. Just ignore it until Apple fixes it.
    – Szabolcs
    Jun 5, 2018 at 12:48
  • If you (re-)run software updates, it should be gone now. Looks like Apple's fixed things. Jun 5, 2018 at 18:54
  • @Michael Confirmed, the entry was removed from the catalog. Edited answer for prominency, thanks
    – grg
    Jun 5, 2018 at 18:56
  • I'm getting this again ... I assume another mess up on the part of Apple? Or is something really broken on my machine this time? i.stack.imgur.com/xUYUK.png
    – Szabolcs
    Jun 4, 2019 at 11:29
  • @Szabolcs They've gone and done it again! See update; same strategy as last year: ignore it or Hide Update until Apple fixes the catalog.
    – grg
    Jun 4, 2019 at 11:56
10

As this bug also happens in Monterey with Command Line Tools beta 3 for Xcode 14.1 sometimes, here is a workaround:

sudo rm -rf /Library/Developer/CommandLineTools/.beta

When the beta is already installed, reinstall:

sudo rm -rf /Library/Developer/CommandLineTools/
xcode-select --install

Then check for tools updates (and install if yes):

softwareupdate --list
softwareupdate --install -a
0

You must log in to answer this question.

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