[TIMOB-23416] Hyperloop: iOS: App crashes on startup when <use-jscore-framework> element non-existent
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-25T07:07:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Hyperloop |
Labels | qe-5.4.0 |
Reporter | Chee Kiat Ng |
Assignee | Chee Kiat Ng |
Created | 2016-05-20T06:02:06.000+0000 |
Updated | 2016-07-01T21:28:53.000+0000 |
Description
Steps to reproduce
1. *appc new --classic* 2. include hyperloop module and plugin in local project 3. update tiapp.xml with:
<modules>
<module version>hyperloop</module>
</modules>
<plugins>
<plugin>hyperloop</plugin>
</plugins>
4. *appc run -p ios*
Additional note, if the element
So somewhere it's not setting it as default.
The problem lies in, with or without hyperloop module, any titanium app created is by default, NOT using Apple Javascriptcore. Reason being, currently our debugger and profiler is not compatible with Apple Javascriptcore. Whereas in hyperloop, it's saying that if it doesn't see
<use-jscore-framework>
in tiapp.xml, it will build ASSUMING JSCORE is setup in the titanium app. Therefore it crashes. The solution (for now), is for hyperloop to assume the usage of TICORE by default instead of JSCORE if thePR here: https://github.com/appcelerator/hyperloop.next/pull/31 Repeat the above steps using these 3 scenarios: 1. no
Left some CR comments, thanks!
Verified as fixed. Tested on: iPhone 6s Plus (9.3.1) iOS Simulator (9.3) Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160629063537 Appc NPM: 4.2.7-2 Appc CLI: 5.4.0-23 Xcode 7.3.1 Node v4.4.4 * Closing Ticket.*