Q:

I can't solve "invalid nib registered for identifier (BNRItemCell)"

Going through the Big Nerd Ranch iOS book, and I'm on day 2 of trying to solve this and I'm going crazy - can anyone help?
I get the following error message:

2014-06-20 11:37:18.764 Homepwner[10388:60b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'invalid nib registered for identifier (BNRItemCell) - nib must contain exactly one top level object which must be a UITableViewCell instance'

I've hooked up the BNRItemCell.xib to the corresponding class. Things fail after line 57 where the breakpoint is:

=======================================================

=======================================================

I know that it's gonna be something so basic that I'll kick myself.
Any help will be appreciated thanks!

A:

Observing the TreeView on the left of the IB you have a UIView ( second top level element! ) below the UITableViewCell. Delete it and you should be fine!

A:

I had this same issue. It turns out I had added another view by mistake on the .xib file

