Why does my system complain about command line tools being out of date, when they are current during installation of pixlet?
The first time I tried to install pixlet on my mac mini running macOS Monterey (12.4) it errored and reported that my command line tools were out of date. Except they weren’t. I have the latest Xcode and command lines tools already installed. Here’s the error (i have the full output if needed):
==> Installing pixlet from tidbyt/tidbyt
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
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.
So I followed the instructions and ran though the software update just in case there was an issue with my system. And as you can see the initial command found there was nothing to install:
Last login: Sun Jun 26 14:11:37 on ttys000
*********@***-Mac-mini ~ % softwareupdate --all --install --force
Software Update Tool
Finding available software
No updates are available.
*********@***-Mac-mini ~ % sudo rm -rf /Library/Developer/CommandLineTools
*********@***-Mac-mini ~ % sudo xcode-select --install
xcode-select: note: install requested for command line developer tools
*********@***-Mac-mini ~ %
I followed this up by trying to install pixlet
again and this time it succeeded, but it still complained that my command line tools are out of date, what gives? Here is the output after I tried installed pixlet the second time:
==> Installing pixlet from tidbyt/tidbyt
Warning: A newer Command Line Tools release is available.
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
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.