ios - Core Data / Magical Record : Cannot find model for source store -


hi everyone,

i think i've read posts problem on internet, here happens me :

i'm using magical record , whenever want perform auto migration, error message occurs :

can't find model source store

to perform migration, first create new data model version, set current model version ( green checkmark etc... ), modify , run app.

in appdelegate, got :

[magicalrecord setupcoredatastackwithautomigratingsqlitestorenamed:@"datamodel"]; 

"datamodel" corresponds datamodel.xcdatamodeld file.

the thing noticed : when display datamodel in finder , select "show package contents", have 1 file, named "content" corresponds old version of data model ( don't see new attributes set on new version ). should have 2 files : 1 corresponding old version , other corresponding new version, right ?

does have idea how solve problem ?

thanks in advance !


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -