Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
abotkin-cpi opened this issue Aug 17, 2021 · 0 comments
Closed

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

abotkin-cpi opened this issue Aug 17, 2021 · 0 comments

Comments

@abotkin-cpi
Copy link
Collaborator

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.

@abotkin-cpi abotkin-cpi pinned this issue Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant