Reputation: 690
Upon installing the new SDK into our application, I attempted to run the app, overwriting an existing application. I received an exception, the relevant stack trace of which is below:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason:
This NSPersistentStoreCoordinator has no persistent stores. It cannot perform a save operation.
But when i tried after uninstalled my application it is worked fine. I don't want to uninstall whenever i installing the new build what is the solution for this?
Upvotes: 1
Views: 2281
Reputation: 532
I is because you change the Core Data , maybe you add/modify/delete some entities, you need tyr the Data Migration , or delete it.
Upvotes: 0
Reputation: 1789
You need to support Data Migration. See this related question: I keep on getting “save operation failure” after any change on my XCode Data Model
and the relevant Apple docs: Initiating the Migration Process
Upvotes: 3