Am seeing the following in console when running app build with iOS 11 GM SDK. Would appear SDK making call on background thread that shouldn't be. Are you aware and if so ETA on a fix?
Thanks
Mark
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 37951, TID: 571610, Thread name: (none), Queue name: com.esri.arcgis.agsoperationQueue.serial, QoS: 25
Backtrace:
4 ArcGIS 0x000000010fc2e000 -[AGSRequestOperation setupRequest] + 185
5 ArcGIS 0x000000010fc2e50a -[AGSRequestOperation kickoffConnection] + 816
6 ArcGIS 0x000000010fc142f4 -[AGSOperationQueue __kickoffOperation:] + 243
7 ArcGIS 0x000000010fc14418 -[AGSOperationQueue __checkRunningQueueCapacity] + 220
8 libdispatch.dylib 0x000000011901b3f7 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x000000011901c43c _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000011902495b _dispatch_queue_serial_drain + 1162
11 libdispatch.dylib 0x00000001190252df _dispatch_queue_invoke + 336
12 libdispatch.dylib 0x00000001190281f9 _dispatch_root_queue_drain + 772
13 libdispatch.dylib 0x0000000119027e97 _dispatch_worker_thread3 + 132
14 libsystem_pthread.dylib 0x00000001194da5a2 _pthread_wqthread + 1299
15 libsystem_pthread.dylib 0x00000001194da07d start_wqthread + 13
Hi, Mark -
This is not an iOS 11 issue per se. We have extensively tested the v100.1 runtime with some of the iOS 11 betas and the recent GM and found no issues that affect functionality or usability of apps built with the runtime. This message is developer warning being generated by Xcode 9 because it has a new main-thread-checker that is enabled by default to look for potential problems in accessing Apple's UIKit APIs. It has flagged a couple of instances where we need to tweak how we use these APIs and be fully compliant with Apple's guidance. We are working on it and hope to release an update soon that should be free of any warnings, but in the meantime don't let it prevent you from supporting iOS 11 for your apps. Based on our testing, we are confident that the existing runtime works just as well on iOS 11.
_
Divesh
Hi Divesh,
Thanks for the above info. Are you planning to release ArcGIS 10.2.5 version also? My app is still using older SDK. Kindly share your thoughts on older ArcGIS sdk release. Thank you!
Thanks for prompt feedback - agree doesn't appear to effect stability (and have had a couple of similar occurrences in our own code whereby perfectly reliable code now warns about this).
This is fixed in version 100.1.1