Hello!
I can't help with your problem but maybe you can help me.
Am I right to understand that you have several targets in the app. They have access to a shared CoreData storage. And the synchronization with the iCloud works correctly? If so, can you share your class/structure to work with CoreData/CloudKit?