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.git
Feedback ID: FB6713955