I've been having a lot of issues with NSPersistentCloudKitContainer lately and would like to move away from it. A solution like CloudCore or IceCream (which would require rewriting the database in Realm) could be a good option.
The issues I've been having
NSPersistentCloudKitContainer doesn't sync in app extensions, requiring that crazy, manual solution that's currently in place for the widget.
- Inconsistent sync results between the manual extension solution and the
NSPersistentCloudKitContainer solution.
- Often I'll get records not syncing in the app when they do in the widget.
Overall it just doesn't seem very reliable. A different solution still needs to use CloudKit and not a third-party service like Realm's MongoDB sync as I want to keep the privacy policy empty. I don't want to be in charge of collecting any user data. With CloudKit, it's all handled by Apple and isn't my problem.
I've been having a lot of issues with
NSPersistentCloudKitContainerlately and would like to move away from it. A solution like CloudCore or IceCream (which would require rewriting the database in Realm) could be a good option.The issues I've been having
NSPersistentCloudKitContainerdoesn't sync in app extensions, requiring that crazy, manual solution that's currently in place for the widget.NSPersistentCloudKitContainersolution.Overall it just doesn't seem very reliable. A different solution still needs to use CloudKit and not a third-party service like Realm's MongoDB sync as I want to keep the privacy policy empty. I don't want to be in charge of collecting any user data. With CloudKit, it's all handled by Apple and isn't my problem.