I foolishly started trying to implement a DetailViewController~ipad.xib, and realized that it wasn’t really a part of the current chapter. After deleting the iPad xib file, the iPad simulator crashes every time I click on an item and it tries to load the DetailViewController view. The iPhone simulator runs perfectly. I even tried switching the project back to iPhone only, but it didn’t make a difference, the iPad simulator always crashes.
As far as I can tell, the view outlet is still wired properly (otherwise the iPhone would crash as well). I updated the code to match the book (Location 6861, 44%) to where it uses the new initializer in ItemsViewController.m:
This is the error message I’ve been getting:
[quote]2012-05-15 10:58:35.730 Homepwner[19779:f803] Alloc DetailViewController
2012-05-15 10:58:35.733 Homepwner[19779:f803] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘-[UIViewController _loadViewFromNibNamed:bundle:] loaded the “DetailViewController” nib but the view outlet was not set.’
*** First throw call stack:
(0x13d0022 0x1561cd6 0x1378a48 0x13789b9 0xe12dd 0xe1779 0xe199b 0xe1d11 0xf38fd 0xf3aef 0xf3dbb 0xf485f 0xf4e06 0xf4a24 0x24ec 0xab5c5 0xab7fa 0x94085d 0x13a4936 0x13a43d7 0x1307790 0x1306d84 0x1306c9b 0x12b97d8 0x12b988a 0x1a626 0x1bbd 0x1b25)
terminate called throwing an exception[/quote]