★ TouchArcade needs your help. Click here to support us on Patreon.

App size increased after uploaded to iTunes?

07-06-2011, 11:56 AM
#1
Joined: Mar 2011
Location: Berlin
Posts: 63
App size increased after uploaded to iTunes?

Hi folks,

We just released our first game Super Sheep Tap. There's an immediate issue after the launch: the app size shown in iTunes or AppStore increased to 49mb, which was 27mb if archived as IPA.

I know ipa is basically your app build zipped. But my question is is there a way to make the downloadable version on iTunes the same size as an IPA file?

I submitted the app in the xcode archived app interface. Does it make any difference if I use Application Loader to upload the ipa file?

Thanks in advance!
07-06-2011, 02:07 PM
#2
Joined: Dec 2009
Location: Berlin, Germany
Posts: 1,674
hmm.. sound odd..

it should have the size of the ipad +- a meg or two.. but not the uncompressed project size..

07-06-2011, 02:40 PM
#3
Joined: Feb 2010
Location: London, England
Posts: 397
I read somewhere that just the assets are compressed, not the actual binary file (as that is encrypted later?).

So yeah, I'm not sure if this is correct, but it came out pretty much right for me. So you need to do the following: After building your app, remove the binary file from the package, then zip what's left. Add the size of this zip to the size of the uncompressed binary file and that's the size that your app will be on the store.

Be interested to see what the results are for your case. If your binary is unusually large, and compresses down well, this could explain it.

Last edited by amroc; 07-06-2011 at 02:42 PM.
07-06-2011, 04:21 PM
#4
Joined: Mar 2011
Location: Berlin
Posts: 63
Thank you for the information,

I extracted the binary file... the the file alone is 50mb, the rest zipped to 10mb...

Man, I need to investigate if it's due to the fact that the game is compiled by unity3d..
07-06-2011, 05:27 PM
#5
Use this method to determine what your post upload app size will be.
http://www.gaminghorror.net/steffenj...fter-approval/

I read that 3rd party libraries add bloated size. I know Unity is one culprit.
07-06-2011, 06:06 PM
#6
Joined: Dec 2009
Location: Berlin, Germany
Posts: 1,674
Quote:
Originally Posted by nantas View Post
Thank you for the information,

I extracted the binary file... the the file alone is 50mb, the rest zipped to 10mb...

Man, I need to investigate if it's due to the fact that the game is compiled by unity3d..

50mb sound very big for the binary.. i never worked with unity but if i recall tight you have the possibility to strip unused features out of the build..
07-06-2011, 07:00 PM
#7
Joined: Mar 2011
Location: Berlin
Posts: 63
Quote:
Originally Posted by mr.Ugly View Post
50mb sound very big for the binary.. i never worked with unity but if i recall tight you have the possibility to strip unused features out of the build..
I got some results after another round of search. It's said that a 15-20mb binary is normal for unity game build. And if build for armv6+armv7 the size will double!

So I changed mine to armv7 only and now the binary is 25mb. Still not a happy kid but it's less ridiculous now..

And the strip feature in unity pro will reduce 7mb from binary size.

Yes, unity is pretty bad in terms of app size, but there are still plenty developers managed to get their app under 20mb with nice quality. So I will keep looking...
07-07-2011, 06:03 AM
#8
Joined: May 2010
Location: Lincoln, UK
Posts: 344
Quote:
Originally Posted by nantas View Post
I got some results after another round of search. It's said that a 15-20mb binary is normal for unity game build. And if build for armv6+armv7 the size will double!

So I changed mine to armv7 only and now the binary is 25mb. Still not a happy kid but it's less ridiculous now..

And the strip feature in unity pro will reduce 7mb from binary size.

Yes, unity is pretty bad in terms of app size, but there are still plenty developers managed to get their app under 20mb with nice quality. So I will keep looking...
ShootStorm was created with Unity. The binary is 14.1 MB, and I don't have the Pro version, so no build stripping to reduce size. I was very careful over the size of assets and tried to reuse code wherever possible. You should be able to get a lot of help with this on the Unity Forums.
07-07-2011, 07:50 AM
#9
Joined: Mar 2011
Location: Berlin
Posts: 63
Quote:
Originally Posted by Moonjump View Post
ShootStorm was created with Unity. The binary is 14.1 MB, and I don't have the Pro version, so no build stripping to reduce size. I was very careful over the size of assets and tried to reuse code wherever possible. You should be able to get a lot of help with this on the Unity Forums.
Hi Moonjump,

I read your post in several threads. And I'm also seeking answer in unity forum.

I'm still confused by the binary size difference between projects. As you said your binary is 14mb but mine is 25mb even after dropping armv6 support. I just want to know the theory behind binary building and common pitfalls, so I can get a slim binary like yours next time
07-07-2011, 09:55 AM
#10
Joined: Dec 2009
Location: Berlin, Germany
Posts: 1,674
well i would have thought for such a "simple" 2d game people would rather stick to 2d engines like cocos2d who are alot slimmer than unity which is pretty big which is normal since its a full fledged 3d engine..

*shrug*


well good luck on optimizing.. for a tiny casual games imho its pretty important to be under the 20mb threshold for thoose "opportunity buyers"