Post

Replies

Boosts

Views

Activity

Reply to Crash in iOS18
I want to share that I had exactly the same crash description, but my issue was related to NSFetchedResultsControllerDelegate. After refactoring, issue disappeared. I hope it may help some of us who trying to find the root case. Best way to debug is to enable Exception Breakpoint. Crash was called in this function inside the batch update. Worked fine on Xcode 15, but crashes on Xcode 16. func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) { collectionView?.performBatchUpdates({ //crash was here }, completion: { [weak self] finished in //completion }) } }
1w