I have experience four crashes on an iPad Air 2 with iOS 10 recently. A restart appeared to eliminate crashes, but I pulled the crash logs and all four showed an issue with “KCSHttpRequest” as shown below. The iPad is attempting to download a file from Kinvey via a Query in general. After thousands of calls to Kinvey, I haven't experienced any issues in months. Except when this one particular iPad crashed four times over two days from the same issue.
1 libobjc.A.dylib 0x18d77055c objc_exception_throw + 56
2 CoreFoundation 0x18ed38108 +[NSException raise:format:] + 116
3 Foundation 0x18f7e532c -[NSObject(NSKeyValueObserving) observeValueForKeyPath:ofObject:change:context:] + 164
4 MyApp 0x1001082a4 -[KCSHttpRequest observeValueForKeyPath:ofObject:change:context:] (KCSHttpRequest.m:446)
5 Foundation 0x18f72fae4 NSKeyValueNotifyObserver + 304
6 Foundation 0x18f7494dc -[NSObject(NSKeyValueObserverRegistration) _addObserver:forProperty:options:context:] + 220
7 Foundation 0x18f74929c -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] + 124
8 MyApp 0x1001083ac -[KCSHttpRequest retryOp:request:] (KCSHttpRequest.m:460)
9 MyApp 0x100107e24 -[KCSHttpRequest requestCallback:request:] (KCSHttpRequest.m:396)
10 MyApp 0x1001079f4 __23-[KCSHttpRequest start]_block_invoke_3 (KCSHttpRequest.m:369)
We believe that this problem has been resolved in the latest version of the 1.x iOS SDK. You can find the new release of the library at the following URL.
The name of the release is iOS SDK v1.41.4.
When you get a chance, please download it and let us know if it resolves this problem to your satisifaction.
I wanted to let you know that the Engineering team is working on this problem and we may come back with some additional questions soon.
Please let me know if you have any questions at this point yourself.
Thanks! Any update on this?
Yes. Engineering is working this problem during this sprint. I'm not sure if the actual fix will make this sprint or the next sprint but we'll let you know as soon as it is available.