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 trial

iOS

Blog Reader- problem saving context

When I try to save the "data stack context" I get an error which says: "The model used to open the store is incompatible with the one used to create the store"

Can anybody help me fix that? Thanks, Borja

Hello Borja, can you paste some code for use to look at?

2 Answers

That usually means you've made changes to your data model and it no longer matches the local database on your device. The quick fix is to uninstall/reinstall the app. That will cause the database to be rebuilt according to the newer data model.

Thanks for your reply, you were right. I've reinstalled the app and everything works as it should.