I have a pretty complex project and it includes phone, TV, and Watch apps.
Compiling for simulators is okay but compiling for a device (or archiving) causes ValidateEmbeddedBinary error:
Found an unexpected Mach-O header code: 0x72613c21
Command ValidateEmbeddedBinary failed with a nonzero exit code
I cannot use the legacy build system because of the watch kit app, I tried cleaning, restarting, excluding some frameworks, pod install, re-login to the provisioning system but nothing worked.
What do you think? Maybe it's because of device architecture? I'm not sure if I've seen arm64 before.