Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable & losing data #64

Open
AnthonyMyatt opened this issue Jun 16, 2014 · 0 comments
Open

Unstable & losing data #64

AnthonyMyatt opened this issue Jun 16, 2014 · 0 comments

Comments

@AnthonyMyatt
Copy link

Hi,

I can't get UniquityStoreManager to consistently load the iCloud store (it says it has) but all the previous data, that was there only seconds ago has vanished.

Also, on a device with iCloud disabled; it loaded fine using the local store, I added some data, quit, ran it up again, and had no MOC, with this in the console;

2014-06-16 13:24:20.408 XXXXXXXXX[29580:1403] UbiquityStoreManager: Loading store...
2014-06-16 13:24:20.410 XXXXXXXXX[29580:1403] UbiquityStoreManager: Will load local store.
2014-06-16 13:24:20.413 XXXXXXXXX[29580:1403] UbiquityStoreManager: Clearing stores...
2014-06-16 13:24:20.415 XXXXXXXXX[29580:1403] UbiquityStoreManager: Will clear stores.  Notifying application to reset its UI.
2014-06-16 13:24:20.428 XXXXXXXXX[29580:1403] UbiquityStoreManager: Loading store: UbiquityStore.sqlite
2014-06-16 13:24:20.510 XXXXXXXXX[29580:1403] UbiquityStoreManager: Successfully loaded local store.
2014-06-16 13:24:20.514 XXXXXXXXX[29580:1403] UbiquityStoreManager: Reloading store...
2014-06-16 13:24:20.516 XXXXXXXXX[29580:1403] UbiquityStoreManager: Cannot load cloud store: User is not logged into iCloud.  Falling back to local store.
2014-06-16 13:24:20.518 XXXXXXXXX[29580:1403] UbiquityStoreManager: Switching cloud disabled -> enabled
2014-06-16 13:24:20.520 XXXXXXXXX[29580:1403] UbiquityStoreManager: Reloading store...
2014-06-16 13:24:20.524 XXXXXXXXX[29580:1403] UbiquityStoreManager: Cannot load cloud store: User is not logged into iCloud.  Falling back to local store.
2014-06-16 13:24:20.527 XXXXXXXXX[29580:1403] UbiquityStoreManager: Finished loading local store (UbiquityStoreErrorCauseNoError).  Notifying application to refresh its UI.
2014-06-16 13:24:20.602 XXXXXXXXX[29580:60b] UbiquityStoreManager: Identity token changed: (null) -> (null)
2014-06-16 13:24:20.806 XXXXXXXXX[29580:1403] UbiquityStoreManager: Reloading store...
2014-06-16 13:24:20.808 XXXXXXXXX[29580:1403] UbiquityStoreManager: Cannot load cloud store: User is not logged into iCloud.  Falling back to local store.
2014-06-16 13:25:08.398 XXXXXXXXX[29580:7d03] UbiquityStoreManager: Reloading store...
2014-06-16 13:25:08.399 XXXXXXXXX[29580:7d03] UbiquityStoreManager: Cannot load cloud store: User is not logged into iCloud.  Falling back to local store.

In order to get my MOC back and stop the crashing, I had to remove the app and re-install.
At the moment I am looking at removing UbiquityStoreManager and just resorting to using raw CoreData with iCloud API calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant