clang broken after upgrade

Hi,

After upgrading to macOS 26.7 I can't get clang to run. I get the following error:

[main] (base) $ clang --version 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: __ZN38pxrInternal_v0_21__aapl__pxrReserved__11TfSingletonINS_15TfDiagnosticMgrEE15_CreateInstanceEv Referenced from: <E253B5A6-AA78-3400-908F-18A455D150EB> /Applications/Xcode.app/Contents/SystemFrameworks/USDKit.framework/Versions/A/USDKit Expected as weak-def export from some loaded dylib)

I have tried removing the command-line tools and reinstalling by doing this:

[main] (base) $ sudo rm -rf /Library/Developer/CommandLineTools Password: [main] (base) $ xcode-select --install

I have also tried rebooting the computer.

thanks for any suggestions,

Are you running clang from the Command Line Tools package? Or from Xcode? That is, what does this print?

% xcode-select -p
/Applications/Xcode.app/Contents/Developer

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

clang broken after upgrade
 
 
Q