Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChristine Gunther
2,253 PointsError: "The model used to open the store is incompatible with the one used to create the store"
After I renamed the image property from just "image" to "imageData" in the Diary App, I received the following error:
"The model used to open the store is incompatible with the one used to create the store."
The imageData code was revised in all locations including the diary attributes root location.
Any ideas why this is occurring? Or potential fixes?
2 Answers
Stephen Whitfield
16,771 PointsYou might want to check your core data model to see if there are any inconsistencies there in relation to your newly changed property.
Olla Ashour
2,491 PointsThis is due to adding or changing types of variables in the object models. Generate new models and clean your project and the issue should be fixed.