Question

I am working on an App, that includes iphone(4,5 potarit only) and Ipad(Landscape as well Potarit). App includes 120 MB of IMAGES and the folder size of my project is 123 MB. But I made its ipa, that goes to 185 MB . I am worried about the size of the build. How it happened to become 185 MB.


  1. On what factors it is depending upon?
  2. How Can I reduce the size of my build?
  3. Will there be any problem uploading this app to the app store?

    There are total of 15*3=45 NIB files in my project.

Was it helpful?

Solution

part (3) - "Will there be any problem uploading this app to the app store?" :

The maximum size of .ipa in AppStore depends on your internet connection.

For app to be downloaded over 3G, the maximum size should be 100MB. Over Wi-fi connection or iTunes the maximum size is 2GB.

part (2)
To reduce the iPA size you can reduce the size of the images. Generally in an application you do not require high resolution images (not more than what the device supports).

If there are images you can make the application download from some external server, that would be better. That way you can download the images the first time app is launched and save in the sandbox of the app and they can be used later in the app by fetching from the sandbox. This can reduce your iPA size considerably.

part(1)
Generally the binary size is less than the actual folder size. I could not see from where your iPA size is increasing.

OTHER TIPS

As far as I know

1 . ipa file size mostly depends on the Images size.

2 . So try to ask your designers to reduce the image for saving the memory or try to use the .jpg files for images except for splash screens,icons. No need to worry about the xib files .

3 . There is no need to worry about the size while releasing the app . Only issue is takes some time to download from the iTunes.

The size of application mostly not depend on the code but on the resources you have added into your application like images, video and sound files.

Most time number of images to support the different display need to add more images cause large size of IPA but for that I think the best way is use stretchable images that decrease IPA size around upto 40 to 60 percent and very neat and clean. do not include over side video and mp3 just compress them at optimum level so user experience will be great. Size could be around 40 mb is best for general ios application

Another approach is to download necessary assets during the first launch.

Pro: user will only get images that compatible with his device

Con: there must be a stable internet connection to download the images. Wi-Fi is preferred, because 3G is not always free of charge for user.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top