much bigger binary files when compiling with Xcode 12.2

Hi,

I have a small binary that is used as the main binary in a bundle. It used to be ~20KB (Xcode 10). When I compile it in Xcode 12.2 (I’m preparing arm64 support), the file is ~60KB (and 120KB as Universal Binary). Out of curiosity, I opened it in a hex editor and found big blocks of zeros. Removing them lead to the same 20KB file size.

So why is Xcode doing this and is there a setting to prevent it.
much bigger binary files when compiling with Xcode 12.2
 
 
Q