My app is getting a crash in the tableView(_:trailingSwipeActionsConfigurationForRowAt:) function.
Apparently, the app is crashing when trying to get the indexPath.section value. I am attaching the crash log.
This is not reproducible for me. I have the hunch that this might be related to some accessibility feature, but I have not been able to corroborate it yet.
I am not sure how to solve this issue or how to move forward since I still don't know what is causing the app.
Any advice or guidance is really appreciated. Thank you!
Code Block Crashed: com.apple.main-threadEXC_BREAKPOINT 0x00000001bd99e0c8Crashed: com.apple.main-thread0 libswiftUIKit.dylib 0x1bd99e0c8 IndexPath.section.getter + 1681 MyApp 0x1033697a4 TableDelegate.tableView(_:trailingSwipeActionsConfigurationForRowAt:) + 337 (TableDelegate.swift:337)2 MyApp 0x103369e58 @objc TableDelegate.tableView(_:trailingSwipeActionsConfigurationForRowAt:) + 4316896856 (<compiler-generated>:4316896856)3 UIKitCore 0x1ad80b9cc -[UITableView _trailingSwipeConfigurationAtIndexPath:fromRemoveButton:] + 18924 UIKit 0x1f0935c34 -[UITableViewCellAccessibility _privateAccessibilityCustomActions] + 5405 UIAccessibility 0x1bd9d8854 -[NSObject(AXPrivCategory) _retrieveCustomActionsForElement:] + 686 UIAccessibility 0x1bd9d8b0c -[NSObject(AXPrivCategory) _accessibilityCustomActions] + 2207 UIAccessibility 0x1bd9f990c -[NSObjectAccessibility accessibilityRespondsToUserInteraction] + 4248 UIKit 0x1f0952f6c -[UIViewAccessibility accessibilityRespondsToUserInteraction] + 1249 UIKit 0x1f08f3440 -[UILabelAccessibility accessibilityRespondsToUserInteraction] + 12010 UIKit 0x1f0959678 -[UIViewAccessibility _isEligibleForFocusInteraction] + 12411 UIKitCore 0x1ad07f4e4 _UIFocusEnvironmentIsEligibleForFocusInteraction + 6412 UIKitCore 0x1ad0acb44 UIFocusMapRecurseSearchForFocusSystemInEligibleContainer + 14813 UIKitCore 0x1ad0c30f8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 6414 UIKitCore 0x1ad0c32fc -[_UIFocusMapSnapshot addRegionsInContainers:] + 19615 UIKitCore 0x1adad78cc -[UIView _searchForFocusRegionsInContext:] + 92416 UIKitCore 0x1ad0c3178 -[_UIFocusMapSnapshot addRegionsInContainer:] + 19217 UIKitCore 0x1ad0c32fc -[_UIFocusMapSnapshot addRegionsInContainers:] + 19650 UIKitCore 0x1ada9595c -[_UIAfterCACommitBlock run] + 6451 UIKitCore 0x1ad5ff79c _runAfterCACommitDeferredBlocks + 29652 UIKitCore 0x1ad5eeb4c _cleanUpAfterCAFlushAndRunDeferredBlocks + 20053 UIKitCore 0x1ad620260 _afterCACommitHandler + 7654 CoreFoundation 0x1aad2fecc CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 3255 CoreFoundation 0x1aad2a5b0 CFRunLoopDoObservers + 60456 CoreFoundation 0x1aad2aaf8 __CFRunLoopRun + 96057 CoreFoundation 0x1aad2a200 CFRunLoopRunSpecific + 57258 GraphicsServices 0x1c0e25598 GSEventRunModal + 16059 UIKitCore 0x1ad5f0004 -[UIApplication _run] + 105260 UIKitCore 0x1ad5f55d8 UIApplicationMain + 16461 MyApp 0x102d7d654 main + 16 (AppDelegate.swift:16)62 libdyld.dylib 0x1aaa09598 start + 4