Only development environment can real sync.
But product environment can't sync.
And when run my device show this error:
CoreData: Already have a mirrored relationship registered for this key: CD_M2M_Event_items:B269B612-37A6-4ED7-9FDB-601E88BF56A8:8DC64E4A-E893-4465-8B21-48CF1C52A4BC
<NSCKMirroredRelationship: 0x302bb9950> (entity: NSCKMirroredRelationship; id: 0xa049af3fb0190928 <x-coredata://BEB6E57C-891C-4E71-B92F-7BAA0844913E/NSCKMirroredRelationship/p1747>; data: {
cdEntityName = Event;
ckRecordID = "B5908A8A-079E-482C-9F2E-1309BF071F0E";
ckRecordSystemFields = nil;
isPending = 0;
isUploaded = 0;
needsDelete = 0;
recordName = "B269B612-37A6-4ED7-9FDB-601E88BF56A8";
recordZone = "0xa049af3f6a5909a8 <x-coredata://BEB6E57C-891C-4E71-B92F-7BAA0844913E/NSCKRecordZoneMetadata/p1>";
relatedEntityName = Item;
relatedRecordName = "8DC64E4A-E893-4465-8B21-48CF1C52A4BC";
relationshipName = items;
})
<decode: bad range for [%@] got [offs:941 len:665 within:0]>
And my product core data sync data only to October 24, 2024.
The data before October 24 was synchronized normally, Nothing after October 24 is synced.