If enabled, only the active architecture is built. This setting will be ignored when building with a run destination which does not define a specific architecture, such as a 'Generic Device' run destination.
In other words, the compiler only checks for a value of YES; any other value seems to be sufficient to be interpreted as "no: build all architectures".
Therefore, someone who "resets" the value to the default using ONLY_ACTIVE_ARCH = in an xcconfig would result in building all architectures, but still have the helper bundle present in their final build app, which would cause problems with Apple's notarization process.
This change alters the build scripts slightly to remove the helper bundle if it's anything other than YES.
The help for the
ONLY_ACTIVE_ARCH
value says:In other words, the compiler only checks for a value of
YES
; any other value seems to be sufficient to be interpreted as "no: build all architectures".Therefore, someone who "resets" the value to the default using
ONLY_ACTIVE_ARCH =
in an xcconfig would result in building all architectures, but still have the helper bundle present in their final build app, which would cause problems with Apple's notarization process.This change alters the build scripts slightly to remove the helper bundle if it's anything other than
YES
.