[TIMOB-20027] iOS9: Enable App-thinning Splicing by default for new projects
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-01-06T04:40:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | iOS, Tooling |
Labels | appthinning, qe-5.4.0 |
Reporter | Chee Kiat Ng |
Assignee | Feon Sua Xin Miao |
Created | 2015-11-21T00:23:32.000+0000 |
Updated | 2016-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
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.
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.
[~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.
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 theios
element in thetiapp.xml
CR and FT Passed. PR Merged.
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.*