找不到ios文档的/ var / mobile / applications目录 [英] can't find /var/mobile/applications directory for ios documents

查看:674
本文介绍了找不到ios文档的/ var / mobile / applications目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在连接到xcode的iPad设备上运行发布版本以进行调试。我不确定但猜测当我这样做时,文件目录最终会在我的本地机器上而不是在iPad上(就像我在没有xcode的情况下运行它一样)。我得到这样的输出目录:

I'm trying to run a release build on my iPad device connected to xcode for debugging. I'm not certain but guessing that when I do this the documents directory ends up somewhere on my local machine and not on the iPad (as when I run it without xcode). I get an output like this for the directory:


/ var / mobile / Applications / FF0F1AB2-AD1F-4E42-8815-9E399EEF5027 / Documents /

/var/mobile/Applications/FF0F1AB2-AD1F-4E42-8815-9E399EEF5027/Documents/

但我无法访问该目录。转到/ var不会显示任何移动子目录。这与我在未连接的情况下运行iPad并最终通过xcode中的Organizer在设备上查看文件时有所不同(让我得出结论,当运行连接到xcode时,它会将它们保存在这个神秘的目录中)。

but I can't access that directory. Going to /var does not reveal any 'mobile' subdir. This seems different from when I run the iPad unconnected and end up with files viewable on the device through Organizer within xcode (making me conclude that it saves them locally in this mysterious dir when run connected to xcode).

有人可以帮助我访问这个神秘目录吗?

Can someone help me access this mystery directory?

推荐答案

对于xcode 6


  1. 将您的设备与MAC连接(您可以确定看看模拟器列表,它应该是

  2. 现在打开xcode并从上方菜单转到Windows

  3. 转到设备来自下拉列表

  4. 现在会弹出此窗口。您的应用应该位于已安装的应用部分中。如下图所示。双击它。

  1. Connect your device with your MAC (You can sure about that having a look into the simulator list, it should be there)
  2. Now open xcode and go to "Windows" from upper menu
  3. Go to "Devices" from drop down list
  4. Now this window will pop up. Your app should be there in the "Installed Apps" section. Like the picture below. Double click on it.

在这里,您可以看到Doc​​uments文件夹和之前保存的照片。您无法从此列表中删除照片。因为这是iPhone设备部分,所以您可以通过xcode访问。

Here you can see the "Documents" folder and the photos you saved earlier. You can't delete photo from this list. Because this is the iPhone device section, you accessing through the xcode.

如果要删除照片,则必须删除整个项目。要做到这一点,向下滚动屏幕下方,应该有一个减号 - 按钮。选择项目后,只需单击它即可。它会删除你的照片以及整个项目。

If you want to delete the photos, you have to delete the whole project. To do that, scroll down below the screen and there should be a minus "-" button. After selecting your project just click on it. It will delete your photos as well as whole project.

这篇关于找不到ios文档的/ var / mobile / applications目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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