Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed outdated references to releases


The optimizations help reduce the size of the application when the user installs it and reduces the application's memory footprint.

As of Release 5.1.0, the Titanium SDK only supports Slicing.  For For details, see the subsections below.


Slicing is used to indicate which assets are supported by which devices, so when a user installs your application, only the necessary assets are included.  iOS iOS uses an Asset Catalog to mark images for specific devices.

Starting with Release 5.0.0, icons Icons and launch images are added to the Asset Catalog.  Because Because of this change, you cannot access icons or launch images from the filesystem or an ImageView object.


By default, slicing is disabled. To enable slicing, add the use-app-thinning element to the iOS element in the tiapp.xml file and set it to true. 

Code Block


Bitcode produces an intermediate compiled version of your application which is submitted to iTunes Connect.  The The App Store will optimize and compile your application for specific architectures and future supported architectures.  Using Using Bitcode, reduces the size of the package sent to iTunes Connect and provides future support for new architectures without having to resubmit re-submit your application.

Currently, bitcode is disabled for Titanium because all application frameworks require bitcode to be enabled, including third-party modules.


On-demand resources are resources, such as large data and sound files, that are tagged by you into groups to be downloaded when the application needs them.  The The resources are stored and managed by the Apple servers.  When When the application needs a resource group, it will download it from the Apple servers.  If If the user's device is low on diskspacedisk space, the on-demand resources will be purged by iOS.

Currently, the Titanium SDK does not provide a way to tag on-demand resources, but support for the feature is in development (TIMOB-19069).