Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my app 25% larger on the App Store?

Tags:

ios

app-store

The zip file I uploaded is 19.5MB, but on the App Store, Apple reports it as 24.5MB -- too large for over-the-air downloading. Is Apple adding a 5MB wrapper? Decompressing and recompressing less efficiently? Using 815K "megabytes"?

like image 386
David Moles Avatar asked Mar 10 '11 19:03

David Moles


1 Answers

From Apple:

When your application is approved by Apple to sell on the App Store, it is encrypted for DRM purposes and re-compressed. When the encryption is added, the size of the compressed file will increase. The exact size of the increase will vary from app to app, however, the size increase can be large when the binary contains a lot of contiguous zeros. We are unable to guarantee the size of your file after the encryption has been added.

Source (Expand section View the file sizes of a build (iOS, tvOS))

like image 139
FreeAsInBeer Avatar answered Oct 27 '22 12:10

FreeAsInBeer