Log in or register to post comments

App size in MB

March 6, 2012 - 7:57am #1

using Unity and vuforia, i made my first app today.

So far i have only compiled it to a local archive as a *.ipa file (iOS app file)
Within unity i only have 2 markers, and 2 3D models.

After compiling and looking at the *.ipa file, it is already 26MB big!

if i recall correct, 20MB is the max for mobile network download on appstore.

is it vuforia that makes the app so big?
are the certain aspects i need to keep track of when making the app using vuforia that will help keeping the app small ?

thank you in advance.

Re: App size in MB

March 12, 2012 - 4:58am #6

As reported by Know Your Mobile

Re: App size in MB

March 10, 2012 - 7:57am #5

FWIW, Apple just bumped up the Max Mobile Download limit with the release of 5.1...

Re: App size in MB

March 7, 2012 - 5:46am #4

From the Unity site:

"Can I produce apps of less than 20 megabytes with Unity?

Yes. An empty project would take about 13 MB in the AppStore if all the size optimizations were turned off. This gives you a budget of about 7MB for compressed assets in your game. If you own an Advanced License (and therefore have access to the stripping option), the empty scene with just the main camera can be reduced to about 6 MB in the AppStore (zipped and DRM attached) and you will have about 14 MB available for compressed assets."

See Optimizing the Size of the Built iOS Player for more details.

Remember there will be the overhead of the Vuforia library to be added to this calculation, plus the compiled scripts used to implement the Vuforia/Unity integration.

Re: App size in MB

March 7, 2012 - 5:19am #3

so if i understand correct, there is not much i can do about this right ?

Does anyone maybe have experiance with breaking it down some?
Maybe removing some unity stuff that is not needed ?

Re: App size in MB

March 7, 2012 - 2:51am #2

Hi BallastAR,

If you take a look inside a Unity-generated iOS project you'll see the breakdown of the source resources; if you "Show Package Contents" on the compiled application you'll see the compiled content.

The Vuforia libraries are about 5.5 Mb in total before linking - the Unity library is 281 Mb! Obviously the linker only links in those parts it needs, but as you can see Unity has a considerable footprint - which is not surprising given the richness of the toolkit.

Breaking down an example like ImageTargets (total size 41.5 Mb):

* Built code: 32.4 Mb
* Unity data: 8.1 Mb
* Vuforia datasets: 0.5 Mb

Log in or register to post comments