forked from alekseyn/iCloudStoreManager
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hi,
I have found some weird issues in my own project when I try to implement a push / pull / merge. To demonstrate them, I've uploaded a modified demo project.
Could you please check the following?
1. Folder recreation after clearing iCloud / Clearing iCloud container doesn't work
- While being disconnected from iCloud generate some data.
- Hit the Push button. It will delete the whole cloud container and then set cloud enabled.
- Hit the Clear iCloud button. It will first delete the cloud container but then recreate a new empty folder within the
CloudLogsfolder before switching to the local store.

- If you now hit push again it will try to clear the cloud container but the following enabling of iCloud won't work. You will have to hit Clear iCloud once more to clear the store.
So the clearing of the cloud container seems to be broken. It will leave an empty folder. Enabling cloud functionality behaves abnormal in this state.
Workaround: I've found that waiting for e.g. 2 seconds between clearing and enabling cloud is a feasible workaround. I've added some lines as a comment in the MasterViewController.m file for showing that.
2. Pull
If you hit the Pull button it takes a handful of seconds to complete. The method deleteCloudContainerLocalOnly: needs some time. I've marked the lines in code. What's the cause of this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels