[TIMOB-26840] iOS: The xcode project created upon build of titanium project gives error when run to iOS device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2019-02-28T21:07:47.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | regression |
Reporter | Satyam Sekhri |
Assignee | Unknown |
Created | 2019-02-21T00:56:09.000+0000 |
Updated | 2019-02-28T21:07:58.000+0000 |
Description
When we build a titanium mobile project using Ti SDK 8.0 the Xcode project created in the builds folder runs the project on device with errors.
This does not happen when we build project using Ti DK 7.5.0
Steps to reproduce:
1. Create a default titanium project
2. Build it for iOS
3. Open the xcode project created under /build/iphone/
4. Run that project to a iOS device
Actual Result:
An error is shown when the app is run
2019-02-20 16:05:22.935497-0800 test2[2610:935904] [DYMTLInitPlatform] platform initialization successful
2019-02-20 16:05:22.959746-0800 test2[2610:935749] [DEBUG] Reading stylesheet from: /var/containers/Bundle/Application/4C59B765-EF49-4637-AED9-A58BB08C0DAA/test2.app/stylesheet.plist
2019-02-20 16:05:23.195138-0800 test2[2610:935749] [INFO] test2/1.0 (0.0.0.(null))
2019-02-20 16:05:23.245129-0800 test2[2610:935894] [INFO] Log server connections: 1
2019-02-20 16:05:23.270413-0800 test2[2610:935749] [DEBUG] Loading: /var/containers/Bundle/Application/4C59B765-EF49-4637-AED9-A58BB08C0DAA/test2.app/ti.main.js, Resource: ti_main_js
2019-02-20 16:05:23.272899-0800 test2[2610:935749] [INFO] test2 1.0 (Powered by Titanium 8.0.0.93f1b3037d)
2019-02-20 16:05:23.273464-0800 test2[2610:935749] [DEBUG] Loading: /var/containers/Bundle/Application/4C59B765-EF49-4637-AED9-A58BB08C0DAA/test2.app/_index_.json, Resource: _index__json
2019-02-20 16:05:23.276345-0800 test2[2610:935749] [DEBUG] Loading: /var/containers/Bundle/Application/4C59B765-EF49-4637-AED9-A58BB08C0DAA/test2.app/ti.internal/extensions/Error.js, Resource: ti_internal/extensions/Error_js
2019-02-20 16:05:23.280048-0800 test2[2610:935749] [ERROR] Script Error Couldn't find module: core-js/modules/es6.date.to-json for architecture: arm64
2019-02-20 16:05:23.286830-0800 test2[2610:935749] [ERROR] Script Error Module "ti.internal/extensions/Error.js" failed to leave a valid exports object
2019-02-20 16:05:23.288849-0800 test2[2610:935749] [DEBUG] Application booted in 120.198965 ms
Dupe of TIMOB-26807.