MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
942 stars 132 forks source link

Idea-plugin - Ipa file size is being increased at each deployment #103 #744

Closed guichazan closed 10 months ago

guichazan commented 10 months ago

Hi,

Plugin Version: 2.3.20-SNAPSHOT

To reproduce it, create a project for iOS in gdxSetup. I tested with a distribution certificate. Do a first deploy. In my case, with only arm64, the ipa had 14.1MB. Select RoboVM/clean build folders. Create another ipa: it now have 20.2MB. Comparing both files, i see that the symbols file was added twice, the one from the first build, and the new one. The payload folder is the same. Do another clean, the file goes up to 26MB.

The clean is just a way i found to show the problem. Some apps that i have the ipa starts with 50MB and goes to 120MB after a few builds without cleaning.

I'm attaching the project's zip.

I just found that if you delete the old .ipa the file goes back to the original size. So the plugin should delete the previous ipa before.

SuPMobile_new.zip

dkimitsa commented 10 months ago

hi, thx for reporting. fix proposed in https://github.com/MobiVM/robovm/pull/745

Tom-Ski commented 10 months ago

https://github.com/MobiVM/robovm/pull/745