5***@qq.com
5***@qq.com
  • 发布:2024-05-24 16:51
  • 更新:2024-06-12 09:25
  • 阅读:167

【报Bug】离线打包Demo工程,启动速度慢,报错:在后台线程更新UI

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 12.7.5

HBuilderX类型: 正式

HBuilderX版本号: 4.15

手机系统: iOS

手机系统版本号: iOS 13.2

手机厂商: 苹果

手机机型: iPhone X

页面类型: vue

vue版本: vue3

打包方式: 离线

项目创建方式: HBuilderX

操作步骤:

配置官方的离线打包SDK工程,然后连上真机运行起来

预期结果:

正常运行,启动速度正常

实际结果:

启动速度慢,控制台报错:Main Thread Checker: UI API called on a background thread

bug描述:

离线打包SDK 4.15的工程,配置完毕后,成功运行起来了,但是启动的很慢,在Xcode 的控制台中,打出在子线程更新UI的操作。错误log如下:

Main Thread Checker: UI API called on a background thread: -[UIView alpha]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x0000000105255858 -[PDRCoreAppFrame bulidJSOption] + 444
5 UniPluginDemo 0x000000010563f870 -[PGUI JSWindow_Sync_getOption:] + 152
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728 28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808
42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498 43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 232024-05-24 16:13:15.505059+0800 UniPluginDemo[747:87780] [reports] Main Thread Checker: UI API called on a background thread: -[UIView alpha]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x0000000105255858 -[PDRCoreAppFrame bulidJSOption] + 444
5 UniPluginDemo 0x000000010563f870 -[PGUI JSWindow_Sync_getOption:] + 152
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728
28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808 42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498 43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 23
2024-05-24 16:13:22.328511+0800 UniPluginDemo[747:87567] [Process] kill() returned unexpected error 1
2024-05-24 16:13:22.334026+0800 UniPluginDemo[747:87567] [Runtime][DEBUG:] core handle startparam end
2024-05-24 16:13:22.334704+0800 UniPluginDemo[747:87567] [Process] kill() returned unexpected error 1
2024-05-24 16:13:22.334954+0800 UniPluginDemo[747:87567] [Runtime][DEBUG:] ##DCAD--closeSplashscreen
2024-05-24 16:13:22.338384+0800 UniPluginDemo[747:87567] [Runtime][DEBUG:] -----deviceid+(null)
2024-05-24 16:13:22.349983+0800 UniPluginDemo[747:87567] [Process] kill() returned unexpected error 1
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIView frame]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x000000010525598c -[PDRCoreAppFrame bulidJSOption] + 752
5 UniPluginDemo 0x000000010563f870 -[PGUI JSWindow_Sync_getOption:] + 152
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728
28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808 __42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498
43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 232024-05-24 16:13:22.364432+0800 UniPluginDemo[747:87780] [reports] Main Thread Checker: UI API called on a background thread: -[UIView frame]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x000000010525598c -[PDRCoreAppFrame bulidJSOption] + 752
5 UniPluginDemo 0x000000010563f870 -[PGUI JSWindow_Sync_getOption:] + 152
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728 28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808
42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498 43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 23
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIView initWithFrame:]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x00000001056413ec -[PGUI getDeviceInsets:p:w:] + 160
5 UniPluginDemo 0x0000000105640bb0 -[PGUI JSWindow_Sync_getSafeAreaInsets:] + 500
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728
28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808 42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498 43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAE2024-05-24 16:13:22.604016+0800 UniPluginDemo[747:87780] [reports] Main Thread Checker: UI API called on a background thread: -[UIView initWithFrame:]
PID: 747, TID: 87780, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 UniPluginDemo 0x00000001056413ec -[PGUI getDeviceInsets:p:w:] + 160
5 UniPluginDemo 0x0000000105640bb0 -[PGUI JSWindow_Sync_getSafeAreaInsets:] + 500
6 UniPluginDemo 0x000000010563c428 -[PGUI syncExecMethod:] + 320
7 UniPluginDemo 0x000000010526d518 -[PDRCoreFeature Execute:] + 288
8 UniPluginDemo 0x00000001052ef598 -[PDRCoreApp handleCmds:] + 104
9 UniPluginDemo 0x00000001052597cc -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + 108
10 UniPluginDemo 0x000000010480d45c -[H5WeexWebview handleMessage:withObject:] + 148
11 UniPluginDemo 0x000000010480c728
28-[H5WeexWebview refreshWeex]_block_invoke + 60
12 UniPluginDemo 0x0000000104839d6c -[WXSDKInstance(DCPlusBridge) execSync:] + 96
13 UniPluginDemo 0x000000010480f8fc -[PlusWeexModule execSync:] + 60
14 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
15 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
16 UniPluginDemo 0x0000000104821038 -[WXModuleMethod invoke] + 768
17 UniPluginDemo 0x0000000104798808 __42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.131 + 864
18 UniPluginDemo 0x0000000104862498
43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + 468
19 CoreFoundation 0x00000001b7008c20 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1252384
20 CoreFoundation 0x00000001b6ed8d30 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 7472
21 JavaScriptCore 0x00000001c5f74498 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2487448
22 JavaScriptCore 0x00000001c5f73ef8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2486008
23 JavaScriptCore 0x00000001c5f73924 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2484516
24 JavaScriptCore 0x00000001c5f55d10 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2362640
25 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
26 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
27 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
28 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
29 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
30 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
31 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
32 JavaScriptCore 0x00000001c5f347e8 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2226152
33 JavaScriptCore 0x00000001c6492ea4 C87FA51E-B103-3902-A963-FAAEDB228C86 + 7855780
34 JavaScriptCore 0x00000001c6707a54 C87FA51E-B103-3902-A963-FAAEDB228C86 + 10431060
35 JavaScriptCore 0x00000001c5f559cc C87FA51E-B103-3902-A963-FAAEDB228C86 + 2361804
36 JavaScriptCore 0x00000001c5f5456c C87FA51E-B103-3902-A963-FAAEDB228C86 + 2356588
37 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
38 JavaScriptCore 0x00000001c5f53080 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351232
39 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAEDB228C86 + 2351400
40 JavaScriptCore 0x00000001c5f53128 C87FA51E-B103-3902-A963-FAAE
2024-05-24 16:13:22.817838+0800 UniPluginDemo[747:87567] [Process] kill() returned unexpected error 1

2024-05-24 16:51 负责人:无 分享
已邀请:
d***@163.com

d***@163.com

你好!我也遇到同样的问题,请问你解决了吗?

  • 5***@qq.com (作者)

    没有,搜了下这个问题几年前就有人提过了,至今官方也没解决,Pandora框架又不是开源的,想自己改都没法改

    2024-08-13 17:07

要回复问题请先登录注册