Clean Build no Interface on Run of CarLot


#1

When I try to run the CarLot application nothing happens. I get a clean build and the main menu but no document window and nothing in the output window. If I select New under the File menu I get the following:

2012-12-27 00:00:39.619 CarLot[64105:303] -[clotDocument persistentStoreCoordinator]: unrecognized selector sent to instance 0x10012cb80 2012-12-27 00:00:39.623 CarLot[64105:303] An uncaught exception was raised 2012-12-27 00:00:39.623 CarLot[64105:303] -[clotDocument persistentStoreCoordinator]: unrecognized selector sent to instance 0x10012cb80
but haven’t found much in the google to move forward. Anyone have any troubleshooting tips I can try to figure out what I messed up?


#2

The error is saying the object ‘clotDocument’ doesn’t respond to the selector ‘persistentStoreCoodinator’. Could be a typo?


#3

So I started from scratch on a new project and after it worked went back and compared the original project that didn’t work. Looks like I was binding the Text Field Cell -Table View Cell instead of the Static Text - Table View Cell and had bound the array controllers managedObjectContext to the Model Key Path of self instead of managedObjectContext. After making those changes to the original project it worked as well.