Post

Replies

Boosts

Views

Activity

MappingModel generate incorrect model hash for 'Preserve After Deletion' attributes
Today I've investigated migration error. According to my investigations model with preserving after deletion fields would get incorrect hash calculation. That's why custom mapping model would not applied.In `-com.apple.CoreData.MigrationDebug 1` logs the next entry happens: 'CoreData: annotation: (migration) mismatched and destination hashes for mapping model MappingModel.cdm'.My mapping model was regenerated several times on different machines to get rid of potential local issues.Sample code: https://github.com/OdNairy/CloudKitError-FB6713955.gitFeedback ID: FB6713955
3
1
1.1k
Jul ’19