Native Architecuture of Build Machine is building fat binaries

We have quite a lot of code, and it’s very slow compiling. So I had a check. My debug build is coming out as an ARM/x64 fat binary. Projucer is set to Native Architecture of Build machine.

Presumably it should only be building the x64 version on my x64 machine.

Is this a bug, maybe it’s been fixed already? We are a few patches ahead of 6.0.8 I think.

Weird ; on my (Intel) Mac with basic settings:

Capture d’écran 2021-08-04 à 17.30.15

I get a Mach-O 64-bit executable x86_64 (with latest dev tip).

Alright - I’ll investigate further! :slight_smile:

In my case for Xcode 12.5 with that settings the Projucer generates:

//:configuration = Debug
ARCHS = $(NATIVE_ARCH_ACTUAL)

//:configuration = Release
ARCHS = $(NATIVE_ARCH_ACTUAL)

I’m not sure if this has any effect into what you’re seeing Jim, but there are two groups of settings for macOS arch controls in the Projucer. I recently found this out because my AAX builds were failing due to my checking the ARM flags (prematurely I guess?).