Crash _UIShareServiceProxyRaiseInvocationUnsupportedForInstance

Fatal Exception: NSGenericException

0 CoreFoundation 0x99288 __exceptionPreprocess

1 libobjc.A.dylib 0x16744 objc_exception_throw

2 CoreFoundation 0xf0390 __CFDictionaryCreateGeneric

3 ShareSheet 0x76d5c

_UIShareServiceProxyRaiseInvocationUnsupportedForInstance

4 ShareSheet 0x76cc8 -[_UIShareServiceActivityProxy methodSignatureForSelector:]

5 CoreFoundation 0x2d8e4 forwarding

6 CoreFoundation 0x2cf70 _CF_forwarding_prep_0

7 ShareSheet 0x4af78 -[UIActivityContentViewController _configureSharingAppCell:itemIdentifier:]

8 ShareSheet 0x42d8 -[UIActivityContentViewController _provideCellForCollectionView:indexPath:itemIdentifier:]

9 ShareSheet 0x4a530 __67-[UIActivityContentViewController _configureCollectionViewIfNeeded]_block_invoke

10 UIKitCore 0x3e81c -[__UIDiffableDataSource collectionView:cellForItemAtIndexPath:]

11 UIKitCore 0x65d694 -[UICollectionViewDiffableDataSource collectionView:cellForItemAtIndexPath:]

12 UIKitCore 0x32af80 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:]

13 UIKitCore 0x52aa08 -[UICollectionView _prefetchItemsForPrefetchingContext:]

14 UIKitCore 0x31bf50 -[UICollectionView _updateCycleIdleUntil:]

15 UIKitCore 0x18e2a4 ___UIUpdateCycleNotifyIdle_block_invoke

16 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release

17 libdispatch.dylib 0x3a30 _dispatch_client_callout

18 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain

19 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF

20 CoreFoundation 0x51800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE

21 CoreFoundation 0xb704 __CFRunLoopRun

22 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific

23 GraphicsServices 0x1374 GSEventRunModal

24 UIKitCore 0x514b58 -[UIApplication _run]

25 UIKitCore 0x296090 UIApplicationMain

We are facing this crash in iOS version 15.4 onwards in share sheet on production. We are not able to reproduce it, guys can you please help us to fix this issue.

Crash _UIShareServiceProxyRaiseInvocationUnsupportedForInstance
 
 
Q