- Home /
iOS app Size is Wrong (too BIG)
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:
Answer by niodev95 · Jun 20, 2019 at 09:38 PM
Hi guys, I solved the issue by checking the box "strip engine code" and deleting unused assets and scenes. This made the build a lot smaller, but for some reason it seems to be still a lot bigger than it should for the game. But It at least an acceptable size now.
Adding this answer since I thought it might help others.
Your answer
Follow this Question
Related Questions
iOS App Store Size 1 Answer
Fast but no Exceptions build size (iOS) 0 Answers
file size ios too big 0 Answers
Build size breakdown 1 Answer
Why is my iOS app so much bigger than what is shown in the editor log? 1 Answer