xcode-select cannot locate clang, even after installing command line tools March 25, 2023 by Tarik Please ensure Xcode packages are up-to-date — try running xcodebuild -runFirstLaunch. This worked for me.