The Young Person's Core Data Error Translation Service

Error: 'NSInternalInconsistencyException', reason: 'This NSPersistentStoreCoordinator has no persistent stores. It cannot perform a save operation.'

Translation: You changed your data model since you last ran this and that's a no-no.

Resolution: Delete your application's .sqlite file. If, for example, Core Data is one day available on the iPhone, your SQLite file would probably reside somewhere like ~/Library/Application Support/iPhone Simulator/User/Applications/[Long-ass App ID]/Documents/. And you would probably be able to fix things on the device by removing the app to delete all its data and re-installing it.

Comments