How can I confirm this behavior when migrating using NSMigrationManager?
I don't think you need to explicitly checkpoint the store. The Core Data migration process should handle that for you – If it doesn't, I'd see that a framework bug
When I enable com.apple.CoreData.MigrationDebug the lightweight migration logs the WAL checkpointing, however, when using NSMigrationManager no such log appears.
When I tried inserting 1000 objects, all of them get inserted into the sqlite file. Nothing gets inserted in WAL file.
Is the behavior different for NSPersistentCloudKitContainer?
Regarding the error, did you try to set up options in the following way:
Yes, this works. However, if the NSMigrationManager handles this then should be avoided, right?
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: