App size has increased 2X after disabling bitcode in XCode14

594 Views Asked by At

XCode14 has disabled bitcode and Apple says they won't accept bitcode enabled apps. Disabling bitcode increases the size of our app by 2X. This can only help reduce the app size by a few Mb.

Has anyone faced this issue and been able to reduce their app size without bitcode enabled?

1

There are 1 best solutions below

1
Keer On

Apple has suggested to enable the STRIP_INSTALLED_PRODUCT, STRIP_STYLE, and STRIP_SWIFT_SYMBOLS in Xcode build settings.

We didn't enable STRIP_INSTALLED_PRODUCT and thus the symbols were not stripped and we faced the above issue even when bitcode was disabled.

After setting STRIP_INSTALLED_PRODUCT to yes the app size was back to normal.