On Demand Resources Crashed

I've seen a repeating crash on client devices running iOS 11 (only iOS 11). I think it happens when app is downloading on-demand resources. Unfortunately, I'm unable to re-produce this crash but it occurs repeatedly on our users. Any idea what's happening? Do you have any solution to prevent this crash?


Fatal Exception: NSInvalidArgumentException

Unexpected state upon completion of beginAccessingResourcesWithCompletionHandler (3)

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x18115ed8c __exceptionPreprocess
1  libobjc.A.dylib                0x1803185ec objc_exception_throw
2  Foundation                     0x181c02c3c __copy_helper_block_.385
3  Foundation                     0x181cc57d8 __NSXPCCONNECTION_IS_CALLING_OUT_TO_ERROR_BLOCK__
4  Foundation                     0x181aa4954 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]
5  Foundation                     0x181cc7654 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke.346
6  libxpc.dylib                   0x180dbe91c _xpc_connection_reply_callout
7  libxpc.dylib                   0x180dbe858 _xpc_connection_call_reply_async
8  libdispatch.dylib              0x180a511fc _dispatch_client_callout3
9  libdispatch.dylib              0x180a68c70 _dispatch_mach_msg_async_reply_invoke$VARIANT$mp
10 libdispatch.dylib              0x180a5a8f0 _dispatch_queue_serial_drain$VARIANT$mp
11 libdispatch.dylib              0x180a5b380 _dispatch_queue_invoke$VARIANT$mp
12 libdispatch.dylib              0x180a5bd4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp
13 libdispatch.dylib              0x180a6411c _dispatch_workloop_worker_thread$VARIANT$mp
14 libsystem_pthread.dylib        0x180d83e70 _pthread_wqthread
15 libsystem_pthread.dylib        0x180d83b08 start_wqthread

Have you found a solution? I'm having the same issue.

i am also getting same crash in 11.4 version. Have you found a solution?

I am also facing the same issue. Please update if any solution found for the issue.

On Demand Resources Crashed
 
 
Q