Comment on Xcode 16 | xcodebuild fails when providing -destination 'platform=iOS Simulator,name=iPhone 16,arch=x86_64' It overrides the build settings you defined in your xcodeproj, as mentioned here Developer Tools & Services Xcode Sep ’24