Hi,
We started seeing application getting crashed when we are calling conditionallyBeginAccessingResources API of NSBundleResourceRequest
https://developer.apple.com/documentation/foundation/nsbundleresourcerequest/1614834-conditionallybeginaccessingresou
Is this known IOS API issue?
Crash log
We started seeing application getting crashed when we are calling conditionallyBeginAccessingResources API of NSBundleResourceRequest
https://developer.apple.com/documentation/foundation/nsbundleresourcerequest/1614834-conditionallybeginaccessingresou
Is this known IOS API issue?
Crash log
Code Block Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x189cb186c __exceptionPreprocess 1 libobjc.A.dylib 0x19ecccc50 objc_exception_throw 2 Foundation 0x18b032fa0 _setupConnection 3 libdispatch.dylib 0x1898a5db0 _dispatch_client_callout 4 libdispatch.dylib 0x1898a75c8 _dispatch_once_callout 5 Foundation 0x18b032cb4 +[NSBundleResourceRequest _connection] 6 Foundation 0x18b031b50 -[_NSBundleODRDataForApplications initWithBundle:] 7 Foundation 0x18b031a70 +[_NSBundleODRDataForApplications dataForBundle:createIfRequired:] 8 Foundation 0x18b0346a8 -[NSBundleResourceRequest conditionallyBeginAccessingResourcesWithCompletionHandler:] com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1b7be22d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1b7be1660 mach_msg + 76 2 CoreFoundation 0x189c2cc30 __CFRunLoopServiceMachPort + 380 3 CoreFoundation 0x189c26c14 __CFRunLoopRun + 1216 4 CoreFoundation 0x189c2621c CFRunLoopRunSpecific + 600 5 Foundation 0x18aed5df0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 6 Foundation 0x18aed5cbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 7 UIKitCore 0x18c71ac48 -[UIEventFetcher threadMain] + 516 8 Foundation 0x18b047a34 __NSThread__start__ + 864 9 libsystem_pthread.dylib 0x1d575fcb0 _pthread_start + 320 10 libsystem_pthread.dylib 0x1d5768778 thread_start + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0x1b7be22d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1b7be1660 mach_msg + 76 2 MyFitnessPal 0x1054f948c FIRCLSMachExceptionServer + 194 (FIRCLSMachException.c:194) 3 libsystem_pthread.dylib 0x1d575fcb0 _pthread_start + 320 4 libsystem_pthread.dylib 0x1d5768778 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1b7c07184 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1d5761860 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1d576876c start_wqthread + 8 JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x1b7c061ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1d5763468 _pthread_cond_wait + 1192 2 libc++.1.dylib 0x19ed6d3c4 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100 3 JavaScriptCore 0x19400cd00 bmalloc::Scavenger::threadRunLoop() + 552 4 JavaScriptCore 0x19400c7b4 bmalloc::Scavenger::Scavenger(std::__1::scoped_lock<bmalloc::Mutex> const&) + 14 5 JavaScriptCore 0x19400dccc std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + 46 6 libsystem_pthread.dylib 0x1d575fcb0 _pthread_start + 320 7 libsystem_pthread.dylib 0x1d5768778 thread_start + 8 AVAudioSession Notify Thread 0 libsystem_kernel.dylib 0x1b7be22d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1b7be1660 mach_msg + 76 2 CoreFoundation 0x189c2cc30 __CFRunLoopServiceMachPort + 380 3 CoreFoundation 0x189c26c14 __CFRunLoopRun + 1216 4 CoreFoundation 0x189c2621c CFRunLoopRunSpecific + 600 5 AudioSession 0x19176f0c4 GenericRunLoopThread::Entry(void*) + 164 6 AudioSession 0x19177125c CAPThread::Entry(CAPThread*) + 92 7 libsystem_pthread.dylib 0x1d575fcb0 _pthread_start + 320 8 libsystem_pthread.dylib 0x1d5768778 thread_start + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1b7be22d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1b7be1660 mach_msg + 76 2 CoreFoundation 0x189c2cc30 __CFRunLoopServiceMachPort + 380 3 CoreFoundation 0x189c26c14 __CFRunLoopRun + 1216 4 CoreFoundation 0x189c2621c CFRunLoopRunSpecific + 600 5 CFNetwork 0x18a4fc1c0 _CFURLStorageSessionCopyCache + 64452 6 Foundation 0x18b047a34 __NSThread__start__ + 864 7 libsystem_pthread.dylib 0x1d575fcb0 _pthread_start + 320 8 libsystem_pthread.dylib 0x1d5768778 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1b7c07184 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1d5761860 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1d576876c start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1b7c07184 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1d5761860 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1d576876c start_wqthread + 8