IPA file size on IBM Mobile First

60 Views Asked by At

I'm using MobileFirst PLatform 7.1 for mobile app development and I generate an Android and iOS enviroment with it. I generate the apk and ipa file for distribution and the apk file its a 10 MB file but the ipa file is over 43 MB... a huge difference!!. Both applications have the same common files and they don't have any native specific code. How can I reduce the ipa file?

Thanks

1

There are 1 best solutions below

0
Idan Adar On

Some things to look at:

  1. Remove any unused code and libraries from the project
  2. Remove unusedgenerated images from the native\resources folder or run them through pngcrush and alike
  3. If using 3rd party libraries check if there are minified versions of them
  4. Enable concatenation and minification: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/c_optimizing_apps_build_settings.html