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 Command Line Tool are installed, but script tries to install it #63

Open
and7ey opened this issue May 9, 2024 · 1 comment
Open

Comments

@and7ey
Copy link

and7ey commented May 9, 2024

Checking for the Xcode Command Line Tools...
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
The Xcode Command Line Tools are installing, please rerun when it finishes.
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
logout

OSX 10.15.7

@nieder
Copy link
Member

nieder commented Dec 21, 2024

Ugh. This got missed. Apple routinely messes up Xcode and CLT installs when doing a system update. Sometimes the installed files are kept, but the installation receipt is removed, tricking Fink and other tools to not realize they're installed. Other times the files are deleted.
Workarounds:

  1. run xcode-select --install to have the system install them again,
  2. Download a GUI installer from developer.apple.com (needs free account)

If (1) doesn't work, you can try deleting the directory /Library/Developer/CommandLineTools and trying xcode-select --install again.

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

2 participants