Hello everyone i am currently working on a new project. The problem i have is about the app size. I have it bought on Android and iOs. In google play store it is 10 mb but in appstore it is 28 mb. I created an .ipa file with xcode and it is 14 mb. 4 mb is not important but i dont understand why does my app sizes 28 mb instead of 14 mb when i upload it to AppStore?
Because Apple adds encryption.
Well how can others keep it smaller? What kind of encryption is this? It doubles the app size.
It’s something along the lines of:
Total size = uncompressed binary + zip of rest of .ipa contents.
After you archive in Xcode there’s an estimate size button which is pretty accurate (though sometimes overestimates). You can also use this tool: https://github.com/cbaltzer/AppStoreEstimation
Isn’t there something more fundamental to iOS / Android differences? I thought iOS was AOT, but Android was JIT. Wouldn’t that have build size implications?
iOS does use AOT, so all Mono scripts and runtime are converted into Arm assembler during the build process.