The crash happens on the latest iOS SKD 2.36.0.
- 73% - iOS 18; 14% - iOS 17; 13%- iPadOS 26;
Fatal Exception: NSInternalInconsistencyException
The collection view's data source returned a cell without a reuseIdentifier. Cells must be retrieved by calling -dequeueConfiguredReusableCellWithRegistration:forIndexPath:item: or -dequeueReusableCellWithReuseIdentifier:forIndexPath:. Collection view: <UICollectionView: 0x15ba7ce00; frame = (0 0; 402 768); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x16963cea0>; animations = { bounds.size=<CABasicAnimation: 0x16902b040>; bounds.origin=<CABasicAnimation: 0x1690299a0>; }; backgroundColor = <UIDynamicProviderColor: 0x10b6c6480; provider = <__NSMallocBlock__: 0x1132d4fc0>>; layer = <CALayer: 0x14d255bc0>; contentOffset: {0, 7213.333333333333}; contentSize: {401.99990000000003, 7613.333333333333}; adjustedContentInset: {56, 0, 366, 0}; layout: <ZendeskSDKMessaging.CollectionViewChatLayout: 0x14d398780>; dataSource: <ZendeskSDKMessaging.ConversationManager: 0x13b4f5ea0>>; index path: (0-173); cell: <UICollectionViewCell: 0x118a70500; frame = (0 0; 0 0); layer = <CALayer: 0x151cbecc0>> Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x11a0c0 __exceptionPreprocess
1 libobjc.A.dylib 0x31abc objc_exception_throw
2 Foundation 0x79e670 _userInfoForFileAndLine
3 UIKitCore 0x3b2548 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:]
4 UIKitCore 0x412fa8 -[UICollectionView _createVisibleViewsForSingleCategoryAttributes:limitCreation:fadeForBoundsChange:]
5 UIKitCore 0x43ba28 -[UICollectionView _createVisibleViewsForAttributes:fadeForBoundsChange:notifyLayoutForVisibleCellsPass:]
6 UIKitCore 0x31c594 -[UICollectionView _updateVisibleCellsNow:]
7 UIKitCore 0x2a6590 -[UICollectionView layoutSubviews]
8 UIKitCore 0x26070 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
9 QuartzCore 0x14c14 CA::Layer::layout_if_needed(CA::Transaction*)
10 UIKitCore 0x16b78 -[UIView(Hierarchy) layoutBelowIfNeeded]
11 ZendeskSDKMessaging 0x2ac1c CollectionViewChatLayout.restoreContentOffset(with:) + 332 (CollectionViewChatLayout.swift:332)
12 ZendeskSDKMessaging 0xf3a08 closure #4 in ConversationViewController.onKeyboardEvent(_:) + 656 (ConversationViewController.swift:656)
13 ZendeskSDKMessaging 0x9ef10 <deduplicated_symbol>
14 UIKitCore 0x179b0 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
15 UIKitCore 0x1c6860 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:animations:]
16 ZendeskSDKMessaging 0xf34b8 ConversationViewController.onKeyboardEvent(_:) + 649 (ConversationViewController.swift:649)
17 ZendeskSDKMessaging 0xf2cf4 closure #1 in ConversationViewController.registerForKeyboardNotifications() + 607 (ConversationViewController.swift:607)
18 ZendeskSDKUIComponents 0x8a380 KeyboardHelper.onKeyboardNotification(notification:) + 63 (KeyboardHelper.swift:63)
19 ZendeskSDKUIComponents 0x8a43c @objc KeyboardHelper.onKeyboardNotification(notification:) (<compiler-generated>)
20 CoreFoundation 0x14f80 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
21 CoreFoundation 0x17fb0 ___CFXRegistrationPost_block_invoke
22 CoreFoundation 0x17ef4 _CFXRegistrationPost
23 CoreFoundation 0x15a4c _CFXNotificationPost
24 Foundation 0x127ac -[NSNotificationCenter postNotificationName:object:userInfo:]
25 UIKitCore 0x41c3b0 -[UIInputWindowController postNotificationName:userInfo:]
26 UIKitCore 0x41bdbc __68-[UIInputWindowController postValidatedStartNotifications:withInfo:]_block_invoke
27 UIKitCore 0x4705d8 -[UIInputWindowController postValidatedStartNotifications:withInfo:]
28 UIKitCore 0x46f9ec -[UIInputWindowController postStartNotifications:withInfo:]
29 UIKitCore 0x3ca01c __48-[UIInputWindowController viewDidLayoutSubviews]_block_invoke_2
30 UIKitCore 0x3c8728 -[UIInputWindowController performWithSafeTransitionFrames:]
31 UIKitCore 0x25fd68 -[UIInputWindowController viewDidLayoutSubviews]
32 UIKitCore 0x26318 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
33 QuartzCore 0x14c14 CA::Layer::layout_if_needed(CA::Transaction*)
34 QuartzCore 0x1458c CA::Layer::layout_and_display_if_needed(CA::Transaction*)
35 QuartzCore 0x167f8 CA::Context::commit_transaction(CA::Transaction*, double, double*)
36 QuartzCore 0x15cc0 CA::Transaction::commit()
37 QuartzCore 0x15938 CA::Transaction::flush_as_runloop_observer(bool)
38 UIKitCore 0x9e70 _UIApplicationFlushCATransaction
39 UIKitCore 0x9e0c __setupUpdateSequence_block_invoke_2
40 UIKitCore 0x9404 _UIUpdateSequenceRun
41 UIKitCore 0x8ab4 schedulerStepScheduledMainSection
42 UIKitCore 0x41e4 runloopSourceCallback
43 CoreFoundation 0xf92c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
44 CoreFoundation 0xf744 __CFRunLoopDoSource0
45 CoreFoundation 0xf5a0 __CFRunLoopDoSources0
46 CoreFoundation 0xff20 __CFRunLoopRun
47 CoreFoundation 0x11adc CFRunLoopRunSpecific
48 GraphicsServices 0x1454 GSEventRunModal
49 UIKitCore 0x135274 -[UIApplication _run]
50 UIKitCore 0x100a28 UIApplicationMain
51 0x40dc main + 7 (main.swift:7)
52 ??? 0x1c0fb9f08 (Missing)