iphonecore-dataxcdatamodel

Core Data Error


I am creating an application using Core Data. But When I run my app it crashes. It shows me this reason:

reason = "The model used to open the store is incompatible with the one used to create the store";

What should I do now?


Solution

  • I think you need to refer this link and refer to answer given by Grouchal in the link below:

    What do I have to do to get Core Data to automatically migrate models?

    If you need any further help please do let me know.

    Hope this helps you.