I have the same problem. Have you find any answer for this?
Post
Replies
Boosts
Views
Activity
I have the same problem, when i used NSPersistentHistoryTrackingKey enable for non-cloud container, it auto sync my coredata to CloudKit. I have also tried setting the container's cloudKitContainerOptions property to nil but CloudKit sync still occur.
But when i not enable NSPersistentHistoryTrackingKey for non-cloud container , it give me error like,
Error : File is in Read Only mode due to Persistent History being detected but NSPersistentHistoryTrackingKey was not included.
Please explain me what is use of NSPersistentHistoryTrackingKey for cloud sync process.