Hi guys,
I have a big problem that I don’t understand. I almost finished my 2D game (no lights, no shadows) and I started the testing phase.
I built my project for Andorid and the .apk file has a size of almost 60mb.
I did the same for iOS and for some reason the size is way bigger. As you can see in the figure the download size is about 80mb (which is still more compared to Android but it’s acceptable) but the install size is about 650mb (actual space that would be taken from the device).
Why does this happen?
When deploying the game I include the bitcode (since it is recommended). I’m not sure if not including it would make a big difference.
Prevously the install size was even bigger (around 700mb) and I thought that optimizing and compressing the textures/audio files would have made a difference but It “only” changed 50mb.
I use some third party library but I’m not sure if the problm is caused by that since also in Android I didn’t have any problems.
I’ve seen that removing the “Other linker flags” in xCode (Build Settings) might help reducing size, but if I do that It doesn’t compile anymore.
Here you can see some of my settings and also the figure showing the download/install size.
Apple Connect (App size (it’s the same for all the devices)):
Unity Project Settings:
Unity Project Settings:
Unity Build Project Settings:
xCode Build Settings: