UITableView dataSource is not set (17.4.1 (21E236) only)

#0 Thread
NSInternalInconsistencyException
UITableView dataSource is not set
0
CoreFoundation
___exceptionPreprocess + 164

20
UIKitCore
___swift_destroy_boxed_opaque_existential_1Tm + 12004

There is very little information about the call to the stack.

Some of our iOS App users are suddenly experiencing a ** "UITableView dataSource is not set"** crash.

I don't think it's a coincidence that these users are all 17.4.1 users.

This exception would be thrown if UITableView's dataSource is unexpectedly nil while trying to update itself, such as while preparing a cell. What is your UITableView data source expected to be? Keep in mind that UITableView's delegate is weak, so it's possible for it to deallocate if you're not strongly retaining it yourself (meaning you may be relying on a memory race that can change across iOS updates).

UITableView dataSource is not set (17.4.1 (21E236) only)
 
 
Q