Tôi đã cập nhật điện thoại và Xcode của mình lên bản cập nhật mới nhất và tôi nhận được rất nhiều cảnh báo.Sự cố sau khi cập nhật lên IOS11 và Xcode9 !! "com.google.Maps.LabelingBehavior", "Trạng thái Đọc TIC"
Đầu tiên là 2017-09-21 00:23:15.669466+0100 The Kallos[12068:1279021] TIC Read Status [1:0x0]: 1:57
và có nghĩa đen là 2-3 bài viết về vấn đề này mà thậm chí không giải thích nó là gì!
Đây là một cảnh báo khác, tôi đã tìm thấy một bài đăng tương tự giải thích vấn đề này nhưng không đưa ra giải pháp về cách khắc phục!
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
cảnh báo tiếp theo là
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'
tôi cảm thấy như thế này là một vấn đề với các API GoogleMaps và không mã của tôi nhưng Im không chắc chắn về điều đó.
Tôi sẽ vui lòng cung cấp thêm thông tin nếu cần nhưng dự án của tôi có khoảng 11-12k dòng mã nên tôi không thực sự biết tải lên những gì.
Tôi cũng đang gặp phải sự cố tương tự sau khi cập nhật lên Xcode9 –
Yepp, cũng có vấn đề này. Chuỗi giao diện người dùng đang khóa trong trình mô phỏng. – Herm
Bất kỳ giải pháp nào cho vấn đề này. Tôi đang gặp vấn đề này cả trên thiết bị và trình mô phỏng và thậm chí buộc tải bản đồ trên chủ đề chính không giúp ích ở đây – abhi