通过我正在开发的IOS应用程序在工作站上浏览设备上创建的文件? [英] Browse the files created on a device by the IOS application I'm developing, on workstation?

查看:88
本文介绍了通过我正在开发的IOS应用程序在工作站上浏览设备上创建的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个在设备上创建文件的IOS应用程序,例如使用 NSKeyedArchiver

I'm developing an IOS app that creates files on the device, e.g. with NSKeyedArchiver.

在Android开发期间,当通过USB连接到工作站时,可以浏览设备文件系统,例如,帮助解决您的应用程序问题。

During Android development it's possible to browse a device filesystem when it's connected to your workstation via USB, for instance to help with troubleshooting your app.

但是对于IOS,我在XCode的组织者下没有看到类似的东西,以帮助我浏览我的应用程序创建的文件工作站。谷歌搜索ios浏览设备文件,iphone查看文件等显示越狱设备的解决方案,但不适用于为开发设置的常规设备。

However for IOS I don't see anything similar under the Organizer in XCode, to help me browse files my app creates from the workstation. Googling "ios browse device files", "iphone view files" etc. reveals solutions for jailbroken devices but not for regular devices provisioned for development.

如何浏览文件我正在开发的IOS应用程序创建的设备?

How can I browse files on a device created by an IOS app I'm developing?

推荐答案

在Xcode的管理器中,转到设备的摘要选项卡。在列表中找到您的应用程序,然后单击显示三角形。在它下面,你应该看到一个图标说应用程序数据。单击向下箭头下载数据,它会提示您在某处保存数据。

In Xcode's Organiser, go to your device's Summary tab. Find your application in the list, and click the disclosure triangle. Under it, you should see an icon saying "Application Data". Click the down pointing arrow to download the data, and it'll prompt you for somewhere to save it.

在Xcode 5中,列在您的设备的管理器中,单击应用程序,您可以在窗口的下半部分看到沙盒中的数据文件。

In Xcode 5, listed under your device in Organizer, click on "Applications" and you can see "Data files in Sandbox" in the bottom half of the window.

在Xcode 6中,转到窗口 - >设备,选择设备,在已安装的应用下选择应用名称,单击设置变速箱,然后选择下载容器... 。在取景器中,双指点击包并选择显示包裹内容

In Xcode 6, go to Window -> Devices, select the device, select the app name under Installed Apps, click the settings gearbox, then select Download container.... In finder, double finger tap the package and select Show package contents.

这篇关于通过我正在开发的IOS应用程序在工作站上浏览设备上创建的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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