What’s the best approach to prefill Core Data store when using NSPersistentCloudKitContainer?
I’m parsing objects from a JSON file and store them into my Core Data store.
I’m using “NSPersistentCloudKitContainer” and when I’m running the app on a different device, it also parses the JSON file and adds objects to Core Data. That results in duplicate objects.
How can I check that an entity already exists remotely?