There are a couple levels to this question -
The problem: Upgraded to indie account to get access to the barcoding module. Worked wonderfully. However, when I deployed to my iOS test device, I realized that the file (.ipa i believe) that I load onto the phone went from 8MB to 35MB!
My questions are these: - Does the app compress anything more when I make an official "deployment" of it, beyond just loading it onto a test device? - When I installed the module, I unzipped it. I saw some install guides that made no mention of unzipping, and inferred that I leave it zipped. Is this the cause of the bloat? - When I installed the module, none of the guides that recommended installing in the Library/application support/titanium folders actually worked. I ended up creating a folder called 'modules' in the project folder (save level as the Resources folder). Could this be the cause of the bloat?
I hope I'm not a alone on this - I think a 35MB app is basically a death sentence for me. Comments appreciated.
Thanks
PS - using TI 1.7.2, running on iOS 4+ for now.
3 Answers
1) Are you talking about the build to device? or are you talking about the final distribute for the app store? The final distribute size will be much smaller.
2) Are you using PNG files for your images? these are crushed when you distribute the app, and are thus smaller.
Also... Have you tried placing the module in ~/Library/application support/titanium?
Okay an update since I was playing around a bit more. Previously I was loading the app in the debug folder that just had the app name and no extension. This was 35mb. I tried loading the appname.ipa file instead, and it worked. Brought it down to 15mb. Much better, but still too big. same questions apply.
Thanks
Have anybody tried, and succeeded, getting the distribution files for iPhone and Android smaller? I know there is a small javascript engine included but I don't know the size of it? Is it possible to remove unused frameworks and modules from the build? In native my ipa should be ~200-300k but Titanium gives me 12,9MB.
Your Answer
Think you can help? Login to answer this question!