Been having my first crack at Core Data and I\'m getting the following error when running my code on my device, but it works fine on the simulator..
*
I had the same problem, it worked fine on iOS6 but not on iOS5. This is how I solved it:
.xcdatamodeld
, open the Editor menu and click "Add Model Version...").xcdatamodeld
under Versioned Core Data Model).xcdatamodeld
file in xcode.xcdatamodeld
file in Finder and choose "Show Package Contents".xcdatamodel
that you dont want.xcdatamodeld
in xcode(This is where I found how to delete a Model version: How to delete an old/unused Data Model Version in Xcode)