如何在Xcode 4.2中下载应用程序数据 [英] How to download app data in Xcode 4.2

查看:70
本文介绍了如何在Xcode 4.2中下载应用程序数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在最新版本的Xcode中,我可以直接进入Organizer-> MyDevice-> Applications,然后选择我想要查看的应用程序,并以包含所有应用程序内容的文件夹的形式下载appdata。现在我只获得.xcappdata文件。

In the latest version of Xcode I could simply go to Organizer->MyDevice->Applications and then select the app I wanted to look at and download the appdata in form of a folder with all the app content. Now I only get a .xcappdata file.

如何访问此文件以查看.sqlite文件?

How can I access this file for take a look in a .sqlite file?

推荐答案

在管理器中的沙箱中的数据文件窗格下,您可以找到所选应用在设备上存储的所有单个文件,使用,以分层视图显示。

Under the Data files in Sandbox pane in the Organizer, you'll find all the individual files that the selected app stores on the device and uses, displayed in a hierarchical view.

对于我的应用,它看起来像这样:

For my app, it looks like this:

要在Finder中查看文件,请下载.xcappdata文件,转到Finder中保存的位置,按住Control键并单击它,然后选择显示包内容。目录结构与您在管理器中看到的相同,您可以照常打开和/或复制文件。

To view the files in Finder, download the .xcappdata file, go to where you save it in Finder, Control-click on it and choose Show Package Contents. The directory structure is identical to what you see in the Organizer, and you can open and/or copy out the files as usual.

这篇关于如何在Xcode 4.2中下载应用程序数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆