I am new in iOS development.I try to update a existing core data model in my app. I want to a add a new entity in core data model but when I change anything in my core data model the app crashes . I am not understand how these entities are linked with my existing sqlite database tables and columns . Even when I change the name of entity or attributes the app crashes and give me this error - 'The model used to open the store is incompatible with the one used to create the store.'
I always reinstall the app in simulator after any change in core database but not work .Can anyone suggest me how core data is linked with sqlite table and columns and how i migrate my Core data model with add some more entities and attributes in it.
Thanks for any suggestion!
Core Data migration?