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

Some issues when enabling iCloud #70

Open
NorbNorb opened this issue Jul 22, 2014 · 4 comments
Open

Some issues when enabling iCloud #70

NorbNorb opened this issue Jul 22, 2014 · 4 comments

Comments

@NorbNorb
Copy link

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

  1. While being disconnected from iCloud generate some data.
  2. Hit the Push button. It will delete the whole cloud container and then set cloud enabled.
  3. Hit the Clear iCloud button. It will first delete the cloud container but then recreate a new empty folder within the CloudLogs folder before switching to the local store.
    bildschirmfoto 2014-07-22 um 08 52 04
  4. 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?

@NorbNorb
Copy link
Author

NorbNorb commented Aug 4, 2014

Bing ;)

@NorbNorb
Copy link
Author

Sorry to ask again, but are there any chances to find a solution to this issue? :)
Thanks, Norbert

@ChristianRo
Copy link

Hey Norb,
i´ve the same issue in my project. Ihunath check the sample project NorbNorb attached in this post please. This shows the issue in a simple way.

Please give us feedback how to solve push, pull and merge.

Thank you.
Christian

@lhunath
Copy link
Owner

lhunath commented Aug 14, 2014

I'm sorry for the delay in response; I'm currently on holiday and unable to help much. I'll try to find the time in my off hours in a few weeks to look into these issues.

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

3 participants