Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18834] iOS: Provide mechanism to use the JavaScriptCore framework

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-16T20:15:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsiOS
Labelsjscore-migration
ReporterVishal Duggal
AssigneeVishal Duggal
Created2015-04-15T18:35:26.000+0000
Updated2015-07-07T21:40:09.000+0000

Description

Add a tiapp.xml property to allow developers to choose if they would like to use JavaScriptCore Framework of TiCore to build their applications. Modify Titanium SDK to be able to compile and link successfully when using the JavaScriptCore Framework

Comments

  1. Vishal Duggal 2015-04-15

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6782 Introduces a new property in tiapp.xml under the iOS tag
       <ios>
       <use-jscore-framework>true</use-jscore-framework>
       </ios>
       
    This property controls #define USE_JSCORE_FRAMEWORK in defines.h Testing instructions (For both Sim/Device builds): 1. Leave the tag out and you should be able to build and run the application. Check defines.h and ensure that it does not include #define USE_JSCORE_FRAMEWORK. 2. Include and set property to false. Behavior should be same as above. 3. Include and set to true. You should be able to build and run the application. Check the defines.h file. It must include the #define USE_JSCORE_FRAMEWORK 4. Leave property at true and try to Debug/Profile the application. The property will be ignored. Check defines.h and ensure that it does not include #define USE_JSCORE_FRAMEWORK. 5. Build for production with property set to true or false. It must pass validation.
  2. Eric Wieber 2015-07-07

    Verified fixed, using: MacOS 10.11 Studio 4.1.0.201507061821 Ti SDK 4.2.0 Appc NPM 4.1.0-1 Appc CLI 4.1.0-5 Ti CLI 4.0.1 Alloy 1.6.2 Node v0.10.37 Java 1.7.0_45 preproduction Using <use-jscore-framework>true</use-jscore-framework> successfully allows the inclusion of #define USE_JSCORE_FRAMEWORK.

JSON Source