更新至IOS11和Xcode9后出现的问题!!“com.google.Maps.LabelingBehavior”,“TIC Read Status”

18

我已经将手机和Xcode更新到最新版本,但是出现了很多警告。

第一个警告是2017-09-21 00:23:15.669466+0100 The Kallos[12068:1279021] TIC Read Status [1:0x0]: 1:57

关于这个问题只有2-3篇帖子,而且都没有解释它的含义!

这是另一个警告,我找到了一篇类似的帖子,但是它没有提供解决方法!

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: x, TID: x, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4   The Kallos                          0x0000000105d1e4f4 GMSIsApplicationInBackground + 53
5   The Kallos                          0x0000000105d0c74a -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 269
6   The Kallos                          0x0000000105dec5be _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7   The Kallos                          0x0000000105deba28 _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8   The Kallos                          0x0000000105de94de _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9   The Kallos                          0x0000000105de95e1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10  The Kallos                          0x0000000105d412af _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11  The Kallos                          0x0000000105d411d7 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12  The Kallos                          0x0000000105db01fa _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1096
13  The Kallos                          0x0000000105dafb6d _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14  The Kallos                          0x0000000105daf9fa ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15  Foundation                          0x00000001094ca948 __NSThreadPerformPerform + 334
16  CoreFoundation                      0x000000010816c2b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17  CoreFoundation                      0x000000010820bd31 __CFRunLoopDoSource0 + 81
18  CoreFoundation                      0x0000000108150c19 __CFRunLoopDoSources0 + 185
19  CoreFoundation                      0x00000001081501ff __CFRunLoopRun + 1279
20  CoreFoundation                      0x000000010814fa89 CFRunLoopRunSpecific + 409
21  Foundation                          0x0000000109484e5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22  The Kallos                          0x0000000105deacb5 -[GMSx_GTMSimpleWorkerThread main] + 337
23  Foundation                          0x00000001094928ac __NSThread__start__ + 1197
24  libsystem_pthread.dylib             0x000000010f73393b _pthread_body + 180
25  libsystem_pthread.dylib             0x000000010f733887 _pthread_body + 0
26  libsystem_pthread.dylib             0x000000010f73308d thread_start + 13
2017-09-21 00:23:15.827609+0100 The Kallos[12068:1279035] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: x, TID: x, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4   The Kallos                          0x0000000105d1e4f4 GMSIsApplicationInBackground + 53
5   The Kallos                          0x0000000105d0c74a -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 269
6   The Kallos                          0x0000000105dec5be _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7   The Kallos                          0x0000000105deba28 _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8   The Kallos                          0x0000000105de94de _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9   The Kallos                          0x0000000105de95e1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10  The Kallos                          0x0000000105d412af _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11  The Kallos                          0x0000000105d411d7 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12  The Kallos                          0x0000000105db01fa _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1096
13  The Kallos                          0x0000000105dafb6d _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14  The Kallos                          0x0000000105daf9fa ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15  Foundation                          0x00000001094ca948 __NSThreadPerformPerform + 334
16  CoreFoundation                      0x000000010816c2b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17  CoreFoundation                      0x000000010820bd31 __CFRunLoopDoSource0 + 81
18  CoreFoundation                      0x0000000108150c19 __CFRunLoopDoSources0 + 185
19  CoreFoundation                      0x00000001081501ff __CFRunLoopRun + 1279
20  CoreFoundation                      0x000000010814fa89 CFRunLoopRunSpecific + 409
21  Foundation                          0x0000000109484e5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22  The Kallos                          0x0000000105deacb5 -[GMSx_GTMSimpleWorkerThread main] + 337
23  Foundation                          0x00000001094928ac __NSThread__start__ + 1197
24  libsystem_pthread.dylib             0x000000010f73393b _pthread_body + 180
25  libsystem_pthread.dylib             0x000000010f733887 _pthread_body + 0
26  libsystem_pthread.dylib             0x000000010f73308d thread_start + 13

下一个警告是:

CoreData: annotation:  Failed to load optimized model at path '/Users/xx/Library/Developer/CoreSimulator/Devices/17AA6A5E-FA21-40BF-8123-2CAEE29D4BBE/data/Containers/Bundle/Application/2C3F9016-4605-4DB8-A480-59B95C5E2994/The Kallos.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: annotation:  Failed to load optimized model at path '/Users/xx/Library/Developer/CoreSimulator/Devices/17AA6A5E-FA21-40BF-8123-2CAEE29D4BBE/data/Containers/Bundle/Application/2C3F9016-4605-4DB8-A480-59B95C5E2994/The Kallos.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
CoreData: annotation:  Failed to load optimized model at path '/Users/xx/Library/Developer/CoreSimulator/Devices/17AA6A5E-FA21-40BF-8123-2CAEE29D4BBE/data/Containers/Bundle/Application/2C3F9016-4605-4DB8-A480-59B95C5E2994/The Kallos.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'

我觉得这是GoogleMaps API的问题,而不是我的代码问题,但我不能确定。

如果需要,我很乐意提供更多信息,但是我的项目有大约11-12k行代码,所以我不知道该上传什么。


4
更新到Xcode9后,我也遇到了类似的问题。 - Guri S
是的,这个也有。在模拟器中,UI线程被锁定了。 - Herm
我的项目非常小,只是一个带有聚类的地图,但在更新到Xcode9之后,我也开始遇到了这个问题。此外,地图本身现在感觉非常缓慢,至少在模拟器上是这样。 - AAverin
使用 GoogleMaps (2.4.0) / XCode - 版本 9.0 (9A235),地图初始化出现相同的问题。 - Nazir
关于在iOS 11模拟器中检测到的缓慢问题,请参考与苹果相关的开放雷达问题: http://www.openradar.me/33505938 - Prags
显示剩余2条评论
2个回答

16

这个问题也在Google问题跟踪器中报告:

https://issuetracker.google.com/issues/63322270

Google已经意识到了这个问题,目前的bug状态是Accepted,我期望在Google Maps SDK库2.5.0的下一个版本中修复它。

请随意在bug中添加星号以投票并订阅来自Google的通知。

更新

这个问题今天(2017年10月24日)被标记为已解决。Google代表写道:

我们认为这个问题应该在Maps iOS SDK v2.5版本中得到解决。如果这个问题仍然存在,请告诉我们。


谢谢您提供的信息。我会在这个 bug 上加一个星标。 - Persian

0
问题在于我使用了一个库来更改系统字体,但字体名称中有一个拼写错误,这就是为什么出现了这个奇怪的崩溃。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接