Skip to content

Xcode-beta: Your Command Line Tools are too outdated. #66

Description

@abotkin-cpi

If you're using Xcode-beta, you may hit issues during the Homebrew install that look like the following:

==> Upgrading 1 outdated package:
chargepoint/xcparse/xcparse 2.1.2 -> 2.2
==> Upgrading chargepoint/xcparse/xcparse
  2.1.2 -> 2.2 

==> Cloning https://github.com/ChargePoint/xcparse.git
Updating /Users/abotkin/Library/Caches/Homebrew/xcparse--git
==> Checking out tag 2.2
HEAD is now at 4553702 Add support for xcresult v3.34 (#65)
HEAD is now at 4553702 Add support for xcresult v3.34 (#65)
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

If you experience this, the suggestion at the bottom should resolve the issue (so long as you've updated the xcode-select path to point at Xcode-beta:

sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

You'll then see some UI that will install the command line tools again. Then if you run the command again after that succeeds, you should be good to go.

A nice blog post by Adrian Moreno talking about this can be found here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions