NSInvalidArgumentException while sharing in UIDocumentInteractionController

According to our crash analytics, the application crashes when trying to share a PDF file in the UIDocumentInteractionController. This crash takes place on iOS 26+ only.

Based on analytics, user sessions end when the pdf file is opened in the UIDocumentInteractionController. We couldn't reproduce it on a physical device or a simulator.

Can you please help with a fix or at least workaround for this issue? What's your opinion for bug localization (application or framework)?

Crash log is attached below.

CoreFoundation     __exceptionPreprocess + 164
libobjc.A.dylib    objc_exception_throw + 88
CoreFoundation     -[__NSArrayM insertObject:atIndex:] + 1276
ShareSheet         __79-[SHSheetActivityItemsManager loadItemProvidersForRequest:activity:completion:]_block_invoke + 972
ShareSheet         __79-[_UIShareServiceActivityProxy _loadItemProvidersFromActivityItems:completion:]_block_invoke + 88
ShareSheet         __74+[UIActivity _loadItemProvidersFromActivityItems:withCacheURL:completion:]_block_invoke_4 + 352
libdispatch.dylib  _dispatch_call_block_and_release + 32
libdispatch.dylib  _dispatch_main_queue_drain.cold.5 + 812
libdispatch.dylib  _dispatch_main_queue_drain + 180
CoreFoundation     __CFRunLoopRun + 1944
NSInvalidArgumentException while sharing in UIDocumentInteractionController
 
 
Q