Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20027] iOS9: Enable App-thinning Splicing by default for new projects

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-01-06T04:40:26.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsiOS, Tooling
Labelsappthinning, qe-5.4.0
ReporterChee Kiat Ng
AssigneeFeon Sua Xin Miao
Created2015-11-21T00:23:32.000+0000
Updated2016-07-29T21:11:30.000+0000

Description

To encourage the use of app thinning (slicing) and reduce the size of the app significantly, we should enable the use-app-thinning property in tiapp.xml by default for newly created projects. Also to update the guide when this ticket is resolved. https://wiki.appcelerator.org/display/guides2/App+Thinning

Comments

  1. Chris Barber 2015-11-23

    Why is this going into 5.1.1? This should is a significant behavior change that should be introduced in the next major release, not a patch release.
  2. Ingo Muschenetz 2015-11-24

    Depends on how it is implemented. My understanding: 5.1.1 Add app-thinning tag to new projects. Not a behavior change since it's only new projects 6.0.0 Don't add app-thinning tag, projects thin by default. That seems okay to me.
  3. Chris Barber 2015-11-24

    [~ingo] I really don't think we should enable this by default in 5.x for new or existing apps. Definitely announce app thinning is GA, but manually opt-in and on by default in Titanium SDK 6.
  4. Feon Sua Xin Miao 2016-01-05

    PR: https://github.com/appcelerator/titanium_mobile/pull/7612 Functional Test: 1. Create a new titanium project 2. <use-app-thinning>true</use-app-thinning> should exist under the ios element in the tiapp.xml
  5. Chee Kiat Ng 2016-01-06

    CR and FT Passed. PR Merged.
  6. Harry Bryant 2016-07-29

    Verified as fixed, when created new Titanium projects, <use-app-thinning>true</use-app-thinning> exists in the tiapp.xml by default. Tested On: iPhone 6S (9.3.2) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160727143921 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.7 App CLI: 5.4.0-36 Xcode 7.3 Node v4.4.7 *Closing ticket.*

JSON Source