On Request Resource Failure - The NSBundle Resource Request could not connect to its daemon helper

Getting crash when using ODR (Resources On Demand) in iOS app with this description -

Application terminated due to unhandled NSInternalInconsistencyException, Reason: NSBundleResourceRequest could not connect to helper daemon

IOS version prevalent among crashes is 10.3.2

I am seeing crashes in Crashlytics and cannot reproduce this in debug mode without calling private methods. I have images and sound files included in my ODRs. Attaching a screenshot of the stack trace also - ScreenShotofStackTrace

I also call -[NSBundleResourceRequest conditionallyBeginAccessingResourcesWithCompletionHandler:]

from the block dispatch_after

. Could this be the culprit?

Anyone leads with gratitude!

+6


source to share


1 answer


In my case, closing Xcode, deleting files in the DerivedData folder, restarting Xcode, clearing the project, and removing the program from the simulator / device solved this problem.



0


source







All Articles