[TIMOB-6837] Tooling: iOS package size is too large
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 1.7.5 |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | David Rodriguez |
Assignee | Eric Merriman |
Created | 2011-12-11T14:26:53.000+0000 |
Updated | 2018-08-02T17:31:41.000+0000 |
Description
Problem
For iOS, when you create a new mobile project in Titanium Studio and run it on device, the ipa file it generates is well over 4MB.
That's a blank project!
The application size should not be that big.
Steps to Reproduce
* create a new project in titanium studio
* hit run on device
* see the size of the ipa file it generates is over 4MB. If you unzip the ipa file and look at the actual executable inside the .app package, the executable is over 5MB.
{panel}
Please see the comment below regarding the distribution package size.
{panel}
Comments
JSON Source
Tested with 1.8.0.1.RC1 and the package is still over 5MB. Please make this a priority.
I fully agree. 5 mb is a lot for an empty app.
The app size that you have reported is not accurate, because you have built for debugging and not for distribution. This means that the app has not been streamlined. This will affect the deemed severity of this issue. Having said that, there are things that we intend to do to reduce the size at some point, so I will accept this ticket to track the progress.
You're right Paul. I prepared the app for distribution and the application executable is 3.8MB. That's with a blank project (the archive size is 5.5MB). Is there any way to see what modules the titanium compilation found in the code and chose to automatically include in the project? Just would be eager to see how much space the virtual machine takes compared to the code that gets compiled into the app. Thanks