I'm running into trouble setting up sync using NSPersistentCloudKitContainer on an existing app. The app doesn't seem to sync data that was added to Core Data prior the app's iOS 13 update. For instance:
1. I install an existing, pre-iOS 13, version of the app and create several records that are stored in Core Data.
2. Over that existing install, I install the updated version that uses NSPersistentCloudKitContainer and create some additional new records.
3. I install the same new version on a second device.
Results: Records created in step 1 don't appear on the second device, but records created in step 2 do.
Is there a step I'm missing in order to get existing data to sync? I'm wondering if this has something to do with the persistent history token, but I'm unsure how to tell NSPersistentCloudKitContainer it should "start over" on first launch.