ESRI Cards Providing Main Thread Checker: API API Called by Background Thread in iOS 11

I use ESRI maps in my application. When I launch the application in iOS 10, there is no problem loading ESRI maps, zooming in and out are fine too. But when I launch the same application with iOS 11, it gives me

Main Thread Checker: UI API called on a background thread: -[UIApplication 
applicationState]
PID: 485, TID: 72091, Thread name: Runtime Network Callback Thread, Queue 
name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4   Altus Mobile                        0x00000001006f4844 -
    [AGSRequestOperation kickoffConnection] + 1108 .  
5   Foundation                          0x0000000185987a50 <redacted> + 340
6   CoreFoundation                      0x0000000184f40358 <redacted> + 24
7   CoreFoundation                      0x0000000184f402d8 <redacted> + 88
8   CoreFoundation                      0x0000000184f3fb60 <redacted> + 204
9   CoreFoundation                      0x0000000184f3d738 <redacted> + 1048
10  CoreFoundation                      0x0000000184e5e2d8 
    CFRunLoopRunSpecific + 436
11  Foundation                          0x00000001858866e4 <redacted> + 304
12  Altus Mobile                        0x00000001007dbf28 -
    [AGSThreadTargetImpl mainRoutine] + 292
13  Foundation                          0x0000000185987860 <redacted> + 996
14  libsystem_pthread.dylib             0x0000000184bc432c <redacted> + 308
15  libsystem_pthread.dylib             0x0000000184bc41f8 <redacted> + 0
16  libsystem_pthread.dylib             0x0000000184bc2c38 thread_start + 4
    2017-10-26 13:11:41.375952+0530 Altus Mobile[485:72091] [reports] Main 
Thread Checker: UI API called on a background thread: -[UIApplication .   
applicationState]

I know that Apple has included Main Thead Checker in the latest version of Xcode, which tells us if we are using any major interface theme in the background. To make sure that the problem with ESRI Maps commented on the downloadable part of ESRI cards, the problem with checking the main stream did not pop up, but when I uncommented it, try again. Also, when I enlarge and reduce the ESRI map, I get

 2017-10-26 13:11:41.659743+0530 Altus Mobile[485:72060] Task <504051EF-9770-
 4852-AFB8-C47DF112DA52>.<30> finished with error - code: -999

- ESRI? . .

+4
1

. ArcGIS SDK 100.0.0 iOS 11. SDK ArcGIS 100.1.1 .

0

Source: https://habr.com/ru/post/1688200/


All Articles