Reputation: 95
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?
Upvotes: 5
Views: 653
Reputation: 95
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.
Upvotes: 1