ONLY_ACTIVE_ARCH is not working in Xcode 15.4

As of Xcode 15.4 (and possibly earlier), Xcode does does not build all architectures for a target when 'Build Active Architecture Only' (ONLY_ACTIVE_ARCH) is set to 'No'. Instead, the run destination ('My Mac' vs 'Any Mac') appears to completely override that setting.

The help documentation blurb for ONLY_ACTIVE_ARCH states the run destination is only used when the build setting is enabled, and that was indeed the case in earlier versions of Xcode.

Has the expected behaviour of that setting changed?

In my case 'Build Active Architecture Only' in Build settings was set to No both for Release and Debug, but in project.pbxproj ONLY_ACTIVE_ARCH was set to No for Debug, but Yes for Release, I had to correct project.pbxproj manually to get correct output. v.15.0.1

ONLY_ACTIVE_ARCH is not working in Xcode 15.4
 
 
Q