No suitable mapping model found for core data migration

前端 未结 5 1787
走了就别回头了
走了就别回头了 2020-12-29 12:15

I\'m trying to perform an iOS Core Data migration that requires a MappingModel. Core data is not able to use the mapping model for some reason and it falls back to an automa

5条回答
  •  独厮守ぢ
    2020-12-29 12:17

    Had the same issue. I deleted an entity and renamed the relationship fields accordingly. I first tried to used lightweight migration and therefore specified renaming IDs for the relationships. Due to an oversight I mixed up the fields used for the "Renaming ID" and the "Hash Modifier". Once corrected everything works as expected.

提交回复
热议问题