Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any tools for browsing iCloud data of your app?

Tags:

ios

iphone

icloud

I am working on integrating iCloud in my app and sometimes having problems with conflicts and save errors. The fact that the data is stored on the cloud makes it very hard to debug the problems.

As far as I know, the data on the iCloud servers are mirrored to a directory on the device. Is there any tool (an iOS or OSX app) that will allow me to see the contents of this directory or the files in the iCloud servers? I know that it is possible to query the files in the directory with 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 entitlements.

So far I have tried the following tools with no luck:

  • On Mac OS X Lion, System Pereferences >> iCloud >> Manage: This only displays the name and size of the documents. It does not allow me to download or see the content.
  • On iOS 5, Settings >> iCloud >> Storage & Backup >> Manage Storage: Same as above.
  • On Xcode 4.3.2, Organizer >> Devices >> >> Applications >> Download: This allows me to download the application data but it does not contain the iCloud data.
  • I have also tried browsing the phone with iPhone Explorer application but it does not display the contents of /private/var which is where the iCloud data is stored.
like image 977
murat Avatar asked May 17 '12 22:05

murat


People also ask

How do I extract app data from iCloud?

Download iPhone app data on iCloud Select the most recent backup file, then click on the "Download" button in the last column. Wait for the backup file to be downloaded to your PC/MAC. You will get a new window where you can choose the types you want to download. Then click "Next" button start scanning the backup file.

Can iCloud data be accessed?

With iCloud Drive, you can save any kind of file to your iCloud storage. But how you access all the files in your iCloud Drive storage changes depending on whether you're using an iPhone, a Mac, a Windows PC, or an Android device. We'll show you how to access iCloud Drive on any device.


3 Answers

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

like image 176
ecume des jours Avatar answered Sep 30 '22 17:09

ecume des jours


I found the answer to my question in this answer.

It turns out the data on the cloud is automatically downloaded to my mac under "~/Library/Mobile Documents" folder if I enable "Document & Data" in iCloud Settings page and install a Mac app that is using iCloud.

like image 30
murat Avatar answered Sep 30 '22 19:09

murat


Currently there is no documented way to view native iCloud data. However, depending on what your data is, you might be able to view it under some circumstances. For example, iCloud can be used to sync databases that are accessed via CoreData. If you store your data in a Sqlite database, which is then managed and accessed via CoreData, you can use 3rd party desktop apps to view the Sqlite file. I use this tool to view my Sqlite databases on a Mac: http://www.sqlabs.net/sqlitemanager.php

like image 39
melsam Avatar answered Sep 30 '22 17:09

melsam