We've been fighting to get our app under 20 MB so that over-the-air downloading would work, and with our last release 2 weeks ago we succeeded.
It took a bunch of trial-and-error to get right, but eventually we cut our app down to 27MB (uncompressed), which showed up in the store as 19.5MB.
All seemed well, until we did a minor code update to fix some bugs, when suddenly the app store version of the app ballooned to the full uncompressed 27MB size! I just checked the distribution archives, and the newer binary is actually 2k smaller than the older one.
Does anyone have any idea what would cause this?
Start your archiveNavigate to your project's settings. Under iOS (or the target you want to build your app for) > Identity, you'll want to increment the Build number. For example, if the Build number was 1, you'll want to set it to 2. Then, in the top menu, under Product, click on Archive.
You can move messages to the Archive folder to help keep your inbox from getting too cluttered. Unlike messages you move to the Bin, archived messages remain in your Archive folder until you delete them. You can view the Archive folder in the Mailboxes list.
xcodebuild is a command-line tool that allows you to perform build, query, analyze, test, and archive operations on your Xcode projects and workspaces from the command line. It operates on one or more targets contained in your project, or a scheme contained in your project or workspace.
This size increase can happen when the App Store performs additional processing on your app's binaries, adding DRM to prevent app piracy and then re-compressing the binaries.
In http://www.alexcurylo.com/blog/2010/05/22/tip-shipping-app-size/ there is a way to calculate the final size. In short:
The final calculation for the maximum size of your App is as follows:
A + B + C = maximum size of your App after approval
in words:
(uncompressed executable size) + (app bundle compressed but without executable) + 0,1 MB = maximum size of your App after approval
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With