Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Migrating and Optimizing with Core Da... > The data hasn’t been updated

The data hasn’t been updated

If you take a close look at the console report of the crash, you can figure out what’s wrong...

image with no caption
image with no caption

Core Data caught a mismatch between our DB and our model

We created this problem when we added new fields to the Fugitive entity. Our initial fugitive database was created with the old model, and Core Data has no idea where to get those new fields from. Rather than risk data corruption, it aborted our application with an error. That’s good, but we still need to figure out how to fix it.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial