small medium large xlarge

Back to: All Forums  Core Data
Shogododo.twitter.image_pragsmall
19 Oct 2009, 12:20
Ian Dodd (3 posts)

After doing a Build -> Clean I’m getting “Persistent store migration failed, missing mapping model.” before attempting the v1-v2 migration.

I have a mapping model which is visible in the target (in compiled sources).

Any clues why I would be getting this ? What step have I missed ?

Cheers Ian.

Shogododo.twitter.image_pragsmall
21 Oct 2009, 13:10
Ian Dodd (3 posts)

I have solved it (Thanks to a hint pointed out by Kevin Hoctor). I had my v2 datamodel ticked as being in the target but not v1. Comparing this to the downloadable source code, neither of the datamodels are checked to be in the target merely the mapping file.

I unchecked the v2 datamodel and performed a build->clean all.

voila

You must be logged in to comment