I am getting an error - nib must contain exactly one top level object which must be a UITableViewCell instance'"
I have added Tap gestures from Interface builder (XIB).
Remove that will solve this issue.
You have to add gesture in xib by programatically way
In my case it was a view which was added outside the cell. It shouldn't have been there
Having multiple table view cells in a .xib file also causes this error. Moving the table view cells in to their own separate .xib files resolved my error.
nib must contain exactly one top level object which must be a UITableViewCell instance