UbiquityStoreManager
UbiquityStoreManager copied to clipboard
Keeps deleting and loading store
I use UbiquityStoreManager in an app that supports both iOS 7 and 6. It works perfectly on iOS 7 but when I initialize UbiquityStoreManager on iOS 6, I will keep getting the following messages:
2014-03-14 19:19:08.847 MyApp[1131:3427] UbiquityStoreManager: [DEBUG] cloudSafeForSeeding: 1
2014-03-14 19:19:08.850 MyApp[1131:3427] UbiquityStoreManager: Will migrate to cloud store from: MyApp.sqlite (strategy: 2).
2014-03-14 19:19:09.045 MyApp[1131:3427] UbiquityStoreManager: Will delete the cloud store (UUID:2A14ABEA-294A-4381-969B-1225BF0EA4C4) on this device.
2014-03-14 19:19:09.051 MyApp[1131:3427] UbiquityStoreManager: Clearing stores...
2014-03-14 19:19:09.059 MyApp[1131:3427] UbiquityStoreManager: Will clear stores. Notifying application to reset its UI.
2014-03-14 19:19:09.758 MyApp[1131:3427] UbiquityStoreManager: Loading store...
2014-03-14 19:19:09.764 MyApp[1131:3427] UbiquityStoreManager: Will load cloud store.
2014-03-14 19:19:09.770 MyApp[1131:3427] UbiquityStoreManager: Clearing stores...
2014-03-14 19:19:09.777 MyApp[1131:3427] UbiquityStoreManager: Will clear stores. Notifying application to reset its UI.
2014-03-14 19:19:10.443 MyApp[1131:3427] UbiquityStoreManager: Loading cloud store: 2A14ABEA-294A-4381-969B-1225BF0EA4C4, v0 (tentative).
2014-03-14 19:19:10.449 MyApp[1131:3427] UbiquityStoreManager: [DEBUG] migrationStoreURL: (null)
2014-03-14 19:19:10.455 MyApp[1131:3427] UbiquityStoreManager: [DEBUG] migrationStoreOptions: {
NSInferMappingModelAutomaticallyOption = 1;
NSMigratePersistentStoresAutomaticallyOption = 1;
NSReadOnlyPersistentStoreOption = 1;
}
These exact messages will keep appearing.
Do you know why this happens?