mapping-model
Core Data: endless loop while auto-migrating between two data models
I have my old data model, my new model (same but with two more text fields in one ent开发者_运维百科ity) and a mapping model (just the default generated one).[详细]
2023-02-04 04:20 分类:问答Strange Core Data crash with _Unwind_SjLj_Resume after migrating
I am getting a strange crash from some of my beta testers that I am having trouble with. The symbolicated crash reports indicate that the crash is occurring in the simple allocation of a controller as[详细]
2023-02-03 14:15 分类:问答Core data migration failing with "Can't find model for source store" but managedObjectModel for source is present
I have a cocoa application using core-data, which is now at the 4th version of its managed object model.[详细]
2023-02-01 18:46 分类:问答Migrating through several versions in core data
I have Core Data application and I have been migrating (upgrading) the core data model. Each time I create a new version I create a mapping model for each version.[详细]
2023-01-27 07:04 分类:问答Core Data lightweight migration: Can't find or automatically infer mapping model for migration
So I created a new version of my data model, and made a previously optional field non-optional (giving it a defau开发者_StackOverflowlt value). According to the documentation, this should mean my migr[详细]
2023-01-22 00:26 分类:问答CoreData can't find mapping model in an OSX framework bundle, but works fine in iOS
I have CoreData-based data layer (using a SQLite datastore) that I am using in both an iOS app and on the server that the iOS clients talk to.The data layer (objc code + coredata model / mapping defns[详细]
2023-01-15 05:57 分类:问答Core Data Migration: Extracting fields to an abstract entity child
I have a migration where I\'m moving fields from one entity into another entity which is a child of an abstract entity. My model has an entity, Thing, which is 1->M to an abstract entity, AbstractWidg[详细]
2023-01-04 04:18 分类:问答Which kind of changes can't I do with lightweight migration in Core Data?
I recently tried a lot of different stuff with lightweight migration. These all work: 1) Rename attributes (with renaming identifier specified)[详细]
2023-01-03 04:09 分类:问答Isn't using lightweight migration with dozens of updates going to kill performance?
One think I notices is, that I must probably keep the whole stack of model versions intact when shipping updates. I am not sure what happens if someone has version 1.0 with populated data, and then in[详细]
2023-01-03 04:07 分类:问答Core Data migration of to-one relationship to to-many relationship
I have a deployed app that samples measurements from sensors (e.g., Temp °C, Pressure kPa). The user can create Experiments and collect samples. Each sample is stored as a Run, such that there is a o[详细]
2022-12-29 08:44 分类:问答