Are there any tools to view iCloud data of your application?

I work on iCloud integration in my application and sometimes I have problems with conflicts and keep errors. The fact that data is stored in the cloud makes it very difficult to debug problems.

As far as I know, data on iCloud servers is reflected in the directory on the device. Is there any tool (iOS or OSX application) that will allow me to see the contents of this directory or files on iCloud servers? I know that you can query files in a directory with the NSMetadataQuery class. However, I am looking for a built-in tool from Apple or an open source application that I can use with my own rights.

So far I have not tried using the following tools:

  • In Mac OS X Lion, system transitions → iCloud → Management: displays only the name and size of documents. This does not allow you to download or view content.
  • In iOS 5, Settings → iCloud → Storage and backup → Storage management: the same as above.
  • In Xcode 4.3.2, Organizer → Devices → → Applications → Download: This allows me to download application data, but does not contain iCloud data.
  • I also tried viewing the phone using the iPhone Explorer application, but it does not display the contents of / private / var, where iCloud data is stored.
+6
source share
3 answers

... or visit http://developer.icloud.com to find out what is actually stored in the cloud on Apple servers ...

+11
source

I found the answer to my question in this answer.

It turns out that the cloud data is automatically downloaded to my Mac in the folder “~ / Library / Mobile Documents” if I turn on “Document and Data” on the “iCloud Settings” page and install the Mac application using iCloud.

+4
source

There is currently no documented way to view iCloud source data. However, depending on your data, you can view it under certain circumstances. For example, iCloud can be used to synchronize databases accessed through CoreData. If you store your data in a Sqlite database, which is then managed and accessed through CoreData, you can use third-party desktop applications to view the Sqlite file. I use this tool to view Sqlite databases on Mac: http://www.sqlabs.net/sqlitemanager.php

+1
source

Source: https://habr.com/ru/post/916049/


All Articles