I have a library style application that uses Core Data to store its data. I am currently working on integrating iCloud support.
I worked with several examples and documents from Apple, and finally managed to ensure that the object created on device A is automatically synchronized with device B.
This is great, but I know that I am experiencing some problems: some objects are synchronized, while others are not, and I do not know how to debug this. Is there a way to “see” what data is transferred by iCloud, what data is stored in the cloud and what data is downloaded from iCloud?
All I see at the moment is creating some NSManagedObject and saving it to ManagedContext / PersistentStore. I cannot understand if it is being transferred to the cloud, and I do not see the current contents of the cloud. This makes it impossible to debug the whole process.
So how to debug iCloud?
EDIT 02/06/2015
I asked this question just recently, but it still gets a few votes or favorites. Therefore, I would like to share some information that I received meanwhile:
DO NOT USE iClOUD! I can’t tell you how many heads and sleepless nights I had due to iCloud. It is not worth the candle. At least not when used with Core Data. It just does not work reliably. This is still true for iCloud Drive. My applications "supported" iCloud for about two years, I did my best to launch it. Every time it works, I get new error messages from users. It worked great for many users and caused problems and even crashes for many wastes. It was just awful. Make your service and use any other synchronization service.
source
share