Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are some good guidelines for keeping iPhone app file-size under 10.0MB?

app good guidelines iPhone keeping
0
Posted

What are some good guidelines for keeping iPhone app file-size under 10.0MB?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123