I'm developing an app which uses iCloud to sync core data. I have a complex model. My problems are next: 1) [NSFileManager defaultManager] URLForUbiquityContainerIdentifier often returns nil url even if iCloud enabled on the device. I read it should call it in another thread. But I need to show views which use core data same time. Because this I thought to use second persistent store to store local data in it and when ubiquity store initialized - migrate to it; migration overwrites all data in store - this way not suitable. 2) Solution is to use seed stores as described here: iOS: Migrating existing Core Data-database into iCloud But I have complex model and it difficult to copy all objects from one store to another and it uses big memory amount.
Please give me advice in problem solution.
May be another way to sync core data. Dropbox is not accepted.