robovm / robovm-idea

GNU General Public License v2.0
18 stars 18 forks source link

Ipa file size is being increased at each deployment #103

Open guichazan opened 1 year ago

guichazan commented 1 year 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.

SuPMobile_new.zip

guichazan commented 1 year ago

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 creating a new one.