Skip to main content
Inspiring
Jan 22, 2015 10:35 AM UTC
Question

AIR SDK 16.0.0.283 : iOS - IPA Size

The new SDK seems to have added an extra 3.5MB on ipa (release) depending on the app.

On the basic app that does nothing it adds 3.5MB, on one of our apps it added 7MB.

Anybody else got a size increase?

This topic is closed to new replies. Start a new post to keep the conversation going.

47 replies

Inspiring
Oct 16, 2016 2:40 AM UTC

add me to the list of lost souls here...

seems like we have three sizes to worry about: ipa size, swf size, and executable size

mine are:

ipa: appx 150mb, swf: 51mb, executable: 22mb -- not using any embed keywords in my code, and this is an AS3 only app

meanwhile the app store says I have 100 mb, and that I've exceeded that amount

has anyone really gotten to the bottom of this?

thanks

Translate
pgatplumbee
Participating Frequently
Aug 28, 2015 1:20 PM UTC

Hi guys,

I appreciate a solution would be to bump up the min OS version,

unfortunately I'm not in that position and the app size is incredibly high.

Did anyone find a solution to reduce the executable size?

Translate
User Unknow
Legend
Aug 28, 2015 2:07 PM UTC

What is your binary size

Translate
pgatplumbee
Participating Frequently
Aug 28, 2015 2:57 PM UTC

77mb, that's way too much.

moreover, if you inspect what's in the first 15 mb of the file you will find mainly garbage.

is anyone having the same issue?

is adobe working on a better version of the compiler?

can anyone shed some light on this problem?

Translate
schussler
Participating Frequently
May 10, 2015 5:16 AM UTC

After hitting this issue today and doing some direct research, it turns out that adding "-swf-version=28" to my Flash Builder 4.7 compiler arguments was causing this ITMS error.  Removing this directive allowed my app to upload to TestFlight as before.  In my case, I'm using AIR 17 (latest release) overlaid on Flex 4.6 SDK.

Translate
tonig97953316
Participant
May 13, 2015 9:41 AM UTC

I have the same problem. Any solution?

Translate
User Unknow
Legend
May 13, 2015 9:50 AM UTC

ITMS have more than 10 000 codes. Show your full description.

Translate
Participant
Feb 24, 2015 9:33 AM UTC

‌I managed to find out why. I had 36 swf files, and some of them were compiled with Air SDK, so every time you use that for a swf, executable increase about 18 mb.

Translate
User Unknow
Legend
Feb 24, 2015 9:39 AM UTC

You booth doing something wrong. My binary always not more than 18 mb because I use external data loading without any resource embedding inside.

Translate
Participating Frequently
Mar 4, 2015 11:05 AM UTC

I think the problem is in the large number of classes. I made very simple test:

1. compiled application with single *.mxml file with two buttons insde - 1 spark and 1 mx button (flex 4.6.0)

CODE EXAMPLE:

<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" layout="absolute" >

    <mx:Button />

    <s:Button />

</mx:Application>

2. decompiled swf which had 285KB - no embeded assets inside, just spark and mx components.

3. packaged with latest official AIR sdk 16 ... and it comes out that the executable size is 22MB! WTF?

So, lots of my as3 classes + many as3 libraries, NO EMBED used in code and the result is 107MB executable.

What do you suggest now?

Translate
Participant
Feb 22, 2015 2:06 PM UTC

Did you manage to solve this? I have the same issue. Executable is about 93 mb, and get the Error that Executable needs to be under 80 Mb

Translate
User Unknow
Legend
Feb 23, 2015 7:05 AM UTC

‌Anyone with this issue:

Rename IPA to ZIP and open it. Find your binary file inside and check it size firstly and report it here

Translate
danc2222222
Participating Frequently
Feb 24, 2015 9:13 AM UTC

I have the same problem. My Unix Executable is over 500 MB and there is no way I can get it down to something like 80 MB. I've attached a screenshot of the contents of the .ipa file. Is there some workaround where a small executable can serve as the main file which simply links to the big executable?? Love to hear any suggestions/angles/options. Thanks

Translate
lagoon_bbo
Known Participant
Jan 26, 2015 4:25 AM UTC

Hi Joseph,

The new compiler compile universal binaries for IOS that mean that you have a 32bit and a 64bit binaries in the ipa package, so the size increase is normal.

Translate
Participating Frequently
Feb 2, 2015 11:59 AM UTC

When i moved from SDK 15 where application size was about 70MB, to SDK 16 where size is around 120MB i cannot publish app because of Apples size limit around 80MB. I assume that i get both 32bit and 64bit code in the IPA, and this the reason of double IPA size, am i correct???

Do Apple plan to extends the limits, after adding new architecture? If not, how can i compile my project for only arm64 architecture?

I cannot fint any options to build IPA on windows for only arm64. Can someone provide any help?

Do i have to build on Mac, and set some extra fancy super-cool features that will make my app contain only 64bit code? I cant find any solid information about that on the internets...

Translate
Inspiring
Feb 2, 2015 12:04 PM UTC

There is no apple size limit (well I think it is 2GB) so I am not sure where you saw such limit on ipa

Translate