Short question: I have just added CloudKit support to my iOS app and after more than 1 hour nothing happened. Why is that? How much time it takes for iCloud to sync for the first time?
More details:
Is it normal that it takes long time for first iCloud sync? Will it work better later on? What am I missing? Why it didn't start to sync yet? Should I do something more? In code or in CloudKit Dashboard?
EDIT: I have deployed the Development Schema to Production using instructions from this link: Deploying the Schema To deploy a schema to production:
After few minutes one record was synced from iPad to iPhone. After few hours still no sync from iPhone to iPad. I have added new record on iPad, but it didn't sync either.
I just want to add an answer if anyone would have similar problem. What worked for me was signing out from iCloud and signing back in. That's it. My code was OK, it was some problem with iCloud itself.
It may not work for you, but if your code looks good and you don't have a clue what could be the problem, try to sign out and sign in to the account that has problem with syncing.