After updating Xcode to version-16 and TVOS Simulator to version-18, It started crashing at collectionview dequeue cell.
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view.
Only happening with tvOS18 simulator, it is working fine with tvos17 simulator and Real Device with TvOS18.