Search code examples
iphonexcodeipadcompressionipa

How to reduce the size of my iPhone application?


Alternative Titles (to aid searches)

Compressing PNGs

Reduce the size of an iPhone Archive (.ipa)

Adding a build rule to compress images in Xcode


iOS Apps can only be downloaded via 3G if they are less than 100MB. What are the best strategies for reducing the size of an App?

Areas I'd like to focus on are:

  • Images
  • Databases
  • Code
  • Static Libraries

NB: The original question can be viewed in the revisions of this question


Solution

  • PNG is really the best option for lossless image compression. You can optimize your PNGs for size using PNGOUT, but may I inquire which files specifically are taking much space? How does it compare to a non-debug release?

    Edit: If you'd like a free GUI-version of PNGOUT, take a look at PNGGauntlet.