mluisbrown / iCloudCoreDataStack

A persistence stack for using Core Data with iCloud Sync in iOS7
126 stars 11 forks source link

CoreData: iCloud: Error: failed to receive initial sync notification call back in 90 seconds #9

Closed 128keaton closed 10 years ago

128keaton commented 10 years ago

Hello! First off, I'd like to thank you for your excellent implementation, it has helped me write my app efficiently so I wouldn't get bogged down in the cluster-f**k that iCloud can be. Unfortunately, it appears in iOS 8 that there is a bug somewhere that I just can't tack down. After ~90seconds, my console throws this error resulting in no iCloud sync. Any suggestions? Thanks!

mluisbrown commented 10 years ago

Hi, I haven't had any issues with iOS 8. Can you paste the error that you're seeing in the console?

128keaton commented 10 years ago

@mluisbrown here is the error: CoreData: iCloud: Error: failed to receive initial sync notification call back in 90 seconds . All of the code is the same (except for the name of the data store)

128keaton commented 10 years ago

@mluisbrown I did add the segment for merging: '[self.managedObjectContext.persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:self.storeURL options:@{ NSPersistentStoreUbiquitousContentNameKey : @"WhatIOwe", NSMigratePersistentStoresAutomaticallyOption : @YES, NSInferMappingModelAutomaticallyOption : @YES } error:&error];'

mluisbrown commented 10 years ago

I have seen that error a few times, but eventually it has gone away. I don't know what causes it unfortunately and don't really have a solution for you. I believe it's just an iCloud bug. Sorry :-(

128keaton commented 10 years ago

@mluisbrown okay, thanks, I really just wanted to make sure it wasn't on my end.

sw-tt-jethanandnandpal commented 7 years ago

@128keaton I have same issue which you have face.

CoreData: error: iCloud: Error: failed to receive initial sync notification call back in 90 seconds 2017-05-01 18:42:28.129024 TestIcloud[3049:152199] -PFUbiquitySetupAssistant canReadFromUbiquityRootLocation:: CoreData: Ubiquity: Blocking for initial sync: <PFUbiquitySetupAssistant: 0x12bef3d70>

Can you please let me know what i can do for this.

-- Thanks

128keaton commented 7 years ago

@sw-tt-jethanandnandpal use a solution that isn't completely outdated.

mluisbrown commented 7 years ago

@sw-tt-jethanandnandpal as @128keaton said, iCloud sync with Core Data is now a very outdated technology and has actually been deprecated by Apple. I will change the README to reflect this.