Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Reduce ipa size

Hello,


My application size is 35MB and .ipa file size 27MB.

How can I reduce ipa file size.

I have same project around 34 MB But its ipa file size only 8Mb.

I am not able to understand why this difference coming.


Please help.

iOS 6

Posted on Jan 29, 2013 10:35 PM

Reply
1 reply

Jan 30, 2013 10:48 AM in response to dhananjay_dj

An .ipa file is actually a set of zip-compressed files. Some data compresses better than other; text, for example, may very well compress with a rate of 1 to 10, whereas binary data such as an executable (*), image (**) or sound (***) does far worse. See http://www.maximumcompression.com/index.html for a number of comparisons.


If you want to significantly reduce the size, you'll have to find out where all those bytes are coming from. And then find a way to do without them.


(*) Modern executables contain lots of zeros at several points (mainly padding data pages, IIRC). However, the bulk of a larger executable is probably code, and that compresses badly.


(**) Computer images in general compress very well--so well, in fact, that you probably have *no* un-compressed images in your app. Both JPEG and PNG are natively already compressed, and therefore can hardly shrink any further.


(***) .. except for MP3s. But (1) those aren't raw sound files, they are already compressed -- see the previous point. And (2) even if you do have raw sound data, the default compression algorithm will not *recognize* it as a sound file and then apply MP3 compression, it'll settle for the default ZIP-compatible compresssion.

Reduce ipa size

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.