macOS 26.6 Command Line Tools broken?
After upgrading my Mac from macOS 26.5 to 26.6, the Command Line Tools seem to be broken, e.g. when calling make or git:
% /usr/bin/git
Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Symbol not found: _XPCTypeBool
Referenced from: <ADF86974-DE00-31C0-B4E0-15DF98AE0956> /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/CoreDevice
Expected in: <37B53E42-0118-3C9B-BFA8-73DB82BC3B85> /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury)
git: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find git 2> /dev/null' failed with exit code 65280: (null) (errno=Invalid argument)
xcode-select: Failed to locate 'git', requesting installation of command line developer tools.
... and git tries to reinstall the Command Line Tools.
I do have the current version, installed from
https://appledb.dev/device/Command-Line-Tools-for-Xcode.html?filter=release
Command Line Tools for Xcode 26.6 Jun 25, 2025
% pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 26.6.0.0.1781586504
volume: /
location: /
install-time: 1785441272
but, strange enough, this seems to contain binaries for macOS 26.5:
% ls -o /Library/Developer/CommandLineTools/SDKs
total 0
lrwxr-xr-x 1 root 14 Jul 30 21:54 MacOSX.sdk -> MacOSX26.5.sdk
drwxr-xr-x 7 root 224 Feb 27 11:40 MacOSX15.4.sdk
lrwxr-xr-x 1 root 14 Jul 30 21:54 MacOSX15.sdk -> MacOSX15.4.sdk
drwxr-xr-x 7 root 224 Apr 28 21:36 MacOSX26.5.sdk !!!
lrwxr-xr-x 1 root 14 Jul 30 21:54 MacOSX26.sdk -> MacOSX26.5.sdk
Mac mini, macOS 26.6