模拟器8.0存储文件在哪里 [英] Where Does Simulator 8.0 Store Files

查看:159
本文介绍了模拟器8.0存储文件在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Icode 8的Xcode-6 Beta中找到新模拟器数据的目录

I cannot find the directory for the new simulator data in Xcode-6 Beta for IOS 8

它不在
~ / Library / Application Support / IPhone Simulator /

It is not in ~/Library/Application Support/IPhone Simulator/

iPhone模拟器在哪里存储数据?

推荐答案

这样的事情:

/Users/{YOUR NAME}/Library/Developer/CoreSimulator/Devices/{DEVICE ID}/data/Containers/Data/Application/{APPLICATION ID}/

设备ID可能有点难找(基本上,有一个文件夹有一个你拥有的每个模拟器的随机名称)。为了找到正确的文件夹,我使用了这个终端命令:

The Device ID can be a bit hard to find (basically, there's one folder with a random-looking name for each simulator you have). To get to the correct folder, I used this terminal command:

find ~ -name myFile.txt

其中 myFile.txt 是我的应用程序中的一个文件。终端然后打印出完整的位置 - 如果您有一个可以搜索的文件(或者可以制作一个文件),这对您来说可能更有用,然后逐个检查。

Where myFile.txt was one of the files in my application. The terminal then printed out the full location—this might be more useful to you then checking each one-by-one, if you have a file (or, can make one) that you can search for.

这篇关于模拟器8.0存储文件在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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