Xcode 16.1 (16B40) Stopped Building Universal Binaries

Anyone else notice that Xcode 16.1 seems to have stopped building universal binaries for both debug and release builds even though under "Build Settings-Build Active Architecture" both Debug and Release are set to NO. We had been using the universal binary builds out of Debug for preliminary tests on Intel based machines. The Architectures setting is set to: Standard Architectures (Apple Silicon, Intel) - $(ARCHS_STANDARD).

I started a brand new empty app and it does the same thing.

A workaround is to set the Destination in Xcode's menu bar to "Build on Any Mac" and then find the binary and drag it to the Intel computer. You can't run that one though from Xcode. Another workaround is to build an Archive and drag that one.

Yep. Spent last 4 hours trying to figure out why 16.1 won't build FAT binaries. Architectures asked for set to x86_64 arm64

But the binary when tested with lipo says is only arm64.

OUCH!

I was able to get a fat binary if I did build using the command line tool of

xcodebuild and pass it basic arguments and add each architecture there.

Weird.

Having the same issue here with Xcode 16.2. It ignores ARCHS, ONLY_ACTIVE_ARCH, VALID_ARCHS, etc. Could it be because my(our) targets specify all these settings via xcconfig files rather than by setting them in the UI? Is the only workaround you could find to pass these settings to xcodebuild?

The only workaround I could find is to build an archive and then use that for testing. We are setting "all architectures" in the Build Settings UI so we can test on Apple Silicon and Intel. And yep, 16.2 is still doing the same thing.

Xcode 16.1 (16B40) Stopped Building Universal Binaries
 
 
Q