What are some good guidelines for keeping iPhone app file-size under 10.0MB?
Most apps I’ve dealt with that go over 10M are due to resources, often images and audio. Correctly sizing these them is critical. Note that iPhone does some compression for you automatically when bundling for the device, so the size of things in Simulator can be radically different than on device. Like all optimization exercises, you want to build a solid, sane system first and then focus your optimization efforts on the pieces that are causing the biggest issues. I use du for this: • Build for the device in Release • Go to build/Release-iphoneos/.app • du -ak | sort -rn | head This will give you a list of where the top things are. This information is in kB, but is rounded up to the next block (4k on Mac). But you’re just looking for what’s big, not working out the exact size of everything. Look especially for things being copied into your Resources that shouldn’t be. Funny things sometimes get in there, especially documentation that you’ve added to the project. Testing this out, I not