简体   繁体   中英

Access app data on iCloud drive

I'm new to IOS development so this is probably a silly question that is easy to answer.

I have created an IOS App using Core Data and CloudKit. It is successfully syncing with iCloud Drive running on IOS 8.1.1

The app is functioning, and iCloud is syncing the data with multiple devices correctly, but I would like to know how to use a web browser to locate the files that are stored remotely in my iCloud Drive account.

It is not located in the iCloud Drive folder with the data from other IOS applications on www.iCloud.com and although I can find the name of the datastore in the iCloud Container section of my Developer profile, I cannot see how to access it directly from a browser.

Is there a way that I can access the stored data externally to test it for security and also to monitor it's size?

Thanks for your help!

I don't know if you can see it using the web interface. You might be able to use the iCloud browser in Xcode to see the files, but I don't think that works either.

The way I usually do it is to open Terminal, and cd into ~/Library/Mobile Documents , and then into the container for your app. The iCloud data should be in there.

(Note you can't use Finder because it hides all data outside Documents.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM