使用Titanium SDK 8.0.0和iOS SDK 12.1启动Titanium iOS应用程序时崩溃

时间:2019-05-03 13:52:44

标签: ios titanium appcelerator appcelerator-titanium appcelerator-studio

由于App Store的最低SDK要求,我刚刚将iOS SDK从11.4更新到12.1,并将Titanium SDK从7.3.1更新到8.0.0。但是现在我启动应用程序后,更新后我的应用程序崩溃了。当通过iOS Simulator上的Appcelerator Studio运行时,App运行良好,但是无论是通过xCode还是Appcelerator Studio生成,在钛合金上通过xCode iOS模拟器以及实际设备上创建的iphone-build项目运行时,应用程序都崩溃。

这是我通过xCode获取的日志。

2019-05-03 18:22:03.518724+0500 Eczema[32972:344754] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2019-05-03 18:22:03.519668+0500 Eczema[32972:344754] [DEBUG] Reading stylesheet from: /Users/sabasoft/Library/Developer/CoreSimulator/Devices/6D7BEC66-2C66-4B03-89DF-7EE701161D74/data/Containers/Bundle/Application/EDC0AC40-5E88-4E5C-A4E0-D8D386A8E10E/Eczema.app/stylesheet.plist
2019-05-03 18:22:03.716883+0500 Eczema[32972:344754] [INFO] Eczema/1.0 (0.0.0.(null))
2019-05-03 18:22:03.777071+0500 Eczema[32972:344754] [DEBUG] Loading: /Users/sabasoft/Library/Developer/CoreSimulator/Devices/6D7BEC66-2C66-4B03-89DF-7EE701161D74/data/Containers/Bundle/Application/EDC0AC40-5E88-4E5C-A4E0-D8D386A8E10E/Eczema.app/ti.main.js, Resource: ti_main_js
2019-05-03 18:22:03.780580+0500 Eczema[32972:344754] [INFO] Eczema 1.0 (Powered by Titanium 8.0.0.3726240fa2)
2019-05-03 18:22:03.781163+0500 Eczema[32972:344754] [DEBUG] Loading: /Users/sabasoft/Library/Developer/CoreSimulator/Devices/6D7BEC66-2C66-4B03-89DF-7EE701161D74/data/Containers/Bundle/Application/EDC0AC40-5E88-4E5C-A4E0-D8D386A8E10E/Eczema.app/_index_.json, Resource: _index__json
2019-05-03 18:22:03.782424+0500 Eczema[32972:344754] [DEBUG] Loading: /Users/sabasoft/Library/Developer/CoreSimulator/Devices/6D7BEC66-2C66-4B03-89DF-7EE701161D74/data/Containers/Bundle/Application/EDC0AC40-5E88-4E5C-A4E0-D8D386A8E10E/Eczema.app/ti.internal/extensions/Error.js, Resource: ti_internal/extensions/Error_js
2019-05-03 18:22:03.787079+0500 Eczema[32972:344754] [ERROR] Script Error Couldn't find module: core-js/modules/es6.date.to-json for architecture: x86_64
2019-05-03 18:22:03.788907+0500 Eczema[32972:344754] [ERROR] Application received error: Couldn't find module: core-js/modules/es6.date.to-json for architecture: x86_64

TitaniumKit 0x000000010a4fd3ca -[KrollBridge loadCommonJSModule:withSourceURL:] + 449
TitaniumKit 0x000000010a4fdd23 -[KrollBridge loadJavascriptText:fromFile:withContext:] + 68
TitaniumKit 0x000000010a4ff13c -[KrollBridge require:path:] + 400
TitaniumKit 0x000000010a5366a2 CommonJSRequireCallback + 106
JavaScriptCore 0x00000001053c5b9f _ZN3JSC19APICallbackFunction4callINS_18JSCallbackFunctionEEExPNS_9ExecStateE + 495
??? 0x000049862fc0102d 0x0 + 80840675561517
JavaScriptCore 0x000000010539a33d llint_entry + 26817
JavaScriptCore 0x00000001053938fe vmEntryToJavaScript + 244
JavaScriptCore 0x000000010588e36a _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEPNS_9ExecStateEPNS_8JSObjectE + 11178
JavaScriptCore 0x0000000105ab9a20 _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE + 288
JavaScriptCore 0x00000001053c4ff5 JSEvaluateScript + 501
TitaniumKit 0x000000010a4fc0f7 -[KrollBridge evalFileOnThread:context:] + 823
TitaniumKit 0x000000010a53528c -[KrollInvocation invoke:] + 79
TitaniumKit 0x000000010a535df5 -[KrollContext invoke:] + 109
TitaniumKit 0x000000010a4fc220 -[KrollBridge evalFile:callback:selector:] + 55
TitaniumKit 0x000000010a4fcc85 -[KrollBridge didStartNewContext:] + 1808
TitaniumKit 0x000000010a5365ff -[KrollContext main] + 1084
libdispatch.dylib 0x000000010be98595 _dispatch_call_block_and_release + 12
libdispatch.dylib 0x000000010be99602 _dispatch_client_callout + 8
2019-05-03 18:22:03.790291+0500 Eczema[32972:344754] [ERROR] Script Error Module "ti.internal/extensions/Error.js" failed to leave a valid exports object
2019-05-03 18:22:03.791419+0500 Eczema[32972:344754] [ERROR] Application received error: Module "ti.internal/extensions/Error.js" failed to leave a valid exports object

TitaniumKit 0x000000010a4fc173 -[KrollBridge evalFileOnThread:context:] + 947
TitaniumKit 0x000000010a53528c -[KrollInvocation invoke:] + 79
TitaniumKit 0x000000010a535df5 -[KrollContext invoke:] + 109
TitaniumKit 0x000000010a4fc220 -[KrollBridge evalFile:callback:selector:] + 55
TitaniumKit 0x000000010a4fcc85 -[KrollBridge didStartNewContext:] + 1808
TitaniumKit 0x000000010a5365ff -[KrollContext main] + 1084
libdispatch.dylib 0x000000010be98595 _dispatch_call_block_and_release + 12
libdispatch.dylib 0x000000010be99602 _dispatch_client_callout + 8
libdispatch.dylib 0x000000010bea699a _dispatch_main_queue_callback_4CF + 1541
CoreFoundation 0x000000010b2203e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
CoreFoundation 0x000000010b21aa76 __CFRunLoopRun + 2342
CoreFoundation 0x000000010b219e11 CFRunLoopRunSpecific + 625
GraphicsServices 0x000000010d9dd1dd GSEventRunModal + 62
UIKitCore 0x00000001177cb81d UIApplicationMain + 140
Eczema 0x00000001050df59b Eczema + 9627
libdyld.dylib 0x000000010bf0f575 start + 1
2019-05-03 18:22:03.792083+0500 Eczema[32972:344754] [DEBUG] Application booted in 143.831968 ms

有人可以帮我吗?这是什么问题?

0 个答案:

没有答案