Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6837] Tooling: iOS package size is too large

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 1.7.5
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterDavid Rodriguez
AssigneeEric Merriman
Created2011-12-11T14:26:53.000+0000
Updated2018-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

  1. David Rodriguez 2011-12-16

    Tested with 1.8.0.1.RC1 and the package is still over 5MB. Please make this a priority.
  2. Leonardo Amigoni 2011-12-17

    I fully agree. 5 mb is a lot for an empty app.
  3. Paul Dowsett 2011-12-21

    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.
  4. David Rodriguez 2012-01-10

    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

JSON Source