当我尝试运行iOS平台更新的源代码时,我遇到了错误。
没有修改源代码中的任何内容。
一切正常,除了打开Sensor Fusion页面。它冻结后,我打开该页面,并显示以下错误。
以下是在Xcode中打印到命令行的内容。< / p > < p >=================================================================< br / >主线程检验员:UI API呼吁一个后台线程:- - - - - - [UIView setNeedsDisplay] < br / > PID: 6667年,TID: 2264582,线程名称:(无)、队列名称:com.apple.root.default-qos, QoS:21
Backtrace:
4 dialog_IoT_ios 0x000000010403594c -[GLModelView setModel:] + 140
5 dialog_IoT_ios 0x0000000104028170 __35-[ateotviewcontroller viewDidLoad]_block_invoke + 388
6 libdispatch。Dylib 0x00000001056d12cc _dispatch_call_block_and_release + 24
7Dylib 0x00000001056d128c _dispatch_client_callout + 16
8Dylib 0x00000001056dd3dc _dispatch_queue_override_invoke + 984
9Dylib 0x00000001056e29d0 _dispatch_root_queue_drain + 624
10Dylib 0x00000001056e26f4 _dispatch_worker_thread3 + 136
11 libsystem_pthread. Dylib 0x00000001056e26f4 _dispatch_worker_thread3 + 136
11 libsystem_pthread. DylibDylib 0x0000000185c0f06c _pthread_wqthread + 1268
12dylib 0x0000000185c0eb6c start_wqthread + 4
2018-03-13 18:11:56.476348+0800 dialog_IoT_ios[6667:2264582] [reports] Main Thread Checker: UI API called on a background Thread: -[UIView setNeedsDisplay]
PID: 6667, TID: 2264582, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 21
Backtrace:
4 dialog_IoT_ios 0x000000010403594c -[GLModelView setModel:] + 140
5 dialog_IoT_ios 0x0000000104028170 __35-[TeapotViewController viewDidLoad]_block_invoke + 388
6 libdispatch.dylib 0x00000001056d12cc _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x00000001056d128c _dispatch_client_callout + 16
8 libdispatch.dylib 0x00000001056dd3dc _dispatch_queue_override_invoke + 984
9 libdispatch.dylib 0x00000001056e29d0 _dispatch_root_queue_drain + 624
10 libdispatch.dylib 0x00000001056e26f4 _dispatch_worker_thread3 + 136
11 libsystem_pthread.dylib 0x0000000185c0f06c _pthread_wqthread + 1268
12 libsystem_pthread.dylib 0x0000000185c0eb6c start_wqthread + 4
2018-03-13 18:11:56.561553+0800 dialog_IoT_ios[6667:2264582] -[AGXA11FamilyCommandBuffer renderCommandEncoderWithDescriptor:], line 114: error 'A command encoder is already encoding to this command buffer'
-[AGXA11FamilyCommandBuffer renderCommandEncoderWithDescriptor:]:114: failed assertion `A command encoder is already encoding to this command buffer'