Magical Record migration doesn't seem to find existing mapping model
I have a brand new model that I'm updating to in the latest version of my
app. I setup the stack as needed:
[MagicalRecord
setupCoreDataStackWithAutoMigratingSqliteStoreNamed:@"myapp.sqlite"];
I have created an xcmappingmodel that is part of the appropriate
target/project. However, when I run the app, the migration appears to fail
before it even finds the mapping model:
2013-08-26 15:52:40.644 FlyDesk[46973:907] CoreData: annotation:
(migration) will attempt automatic schema migration
2013-08-26 15:52:41.331 FlyDesk[46973:907] CoreData: error: (migration)
migration failed with error Error Domain=NSCocoaErrorDomain Code=134130
"The operation couldn't be completed. (Cocoa error 134130.)"
UserInfo=0x1e28a1c0
{URL=file://localhost/var/mobile/Applications/6811B76B-80FA-43B5-AE89-F66D9A04896B/Documents/myapp.sqlite,
metadata={
...
Looking at other people's output logs from other questions here, there
should be a point where the log says that it is looking for other models.
Like so:
annotation: (migration) looking for mapping model with source hashes:
What can I do from here?
No comments:
Post a Comment