Hey all,
I am making a sprite game for the iphone right now with unity advanced. I have submitted an app before with unity basic. and i have some questions about the final app size.
It seemed the file size that i submitted wasn’t the number in the iTunes store. ( it got smaller ? )
has this happened to anyone?
Then my second question is : Does anyone have a guide as to how many images will make a file under 10mb ? I knwo there are a lot of variables to consider, however i will not have any 3d models, just planes.
Great thanks!
Chris
Filesize: changes are normal because apple adds the protection, though commonly they get larger not smaller because the protection commonly basically causes the app to be present in the final bundle “uncompressed” (filesize wise)
3d models actually would be the minimalistic thing filesize wise. Sound and textures are the two really bad thing filesize wise.
If you use the texture compression you can save a fair amount of filesize and get away with less filesize but also less quality (depending on the usage).
how many you can get in exactly heavily depends on your code (because that impacts the stripping) and other factors, you will likely have to evaluate the data you have from previous releases to estimate a max amount of “non programm data” you can add to remain below 10mb.
The only estimation I know is that the final size of the application when protected is in the range of: filesize of all assets compressed + filesize of app + library uncompressed
compressed always means with the osx compress functionality
Hey there,
ok. i did some testing using image compression and stripping levels and got my app to 14mbs.
out of curiousity i made and published a project with nothing in it , stripping it etc. and can only get it down to 11 mbs.
So, Im wondering if it is even a possibility to get it under 10 mb ? Has anyone out there been able to do it?
oh, and also am i looking at the correct file ?
After the xcode build, am looking at the .app that xcode makes in the ‘build folder’ , thanks lots,
cp
Thanks,
cp
The size of your app in the app store will be somewhere between the uncompressed app size, and the zipped app size. I use zipped app size * 1.5 as a guesstimate.
It is possible to get a Unity Pro app under 10 MB, but it will have very few textures, and low quality sound. I assume this will improve when/if Unity moves to a newer version of Mono.