Comment on xcodebuild segmentation fault Dropping back down to Xcode 15.3 and updating xcode-select fixed the issue for me. So it seems there's a bug in 15.4 (or something changed which breaks my build scripts). Developer Tools & Services Xcode Jun ’24