iPhone模拟器在哪里存储数据? [英] Where does the iPhone Simulator store its data?

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

问题描述

我有一个用于存储应用数据的SQLite数据库,我可以看一下它来调试我遇到的问题 - 但是iPhone模拟器在哪里存储其数据,通常是什么? / p>

I have a SQLite DB that I'm using to store app data, and I could do with taking a look inside it to debug a problem I'm having - but where does the iPhone Simulator store its data, typically?

推荐答案

SDK 3.2的接受答案是正确的 - SDK 4替换该路径中的 / User 文件夹它可以模拟的每个传统iPhone OS / iOS版本的数字,因此路径变为:

Accepted answer is correct for SDK 3.2 - SDK 4 replaces the /User folder in that path with a number for each of the legacy iPhone OS/iOS versions it can simulate, so the path becomes:


〜/ Library /应用程序支持/ iPhone模拟器/ [操作系统版本] /应用程序/ [appGUID] /

如果你有以前的SDK安装在一起,其3.1.x模拟器将继续保存其数据:

if you have the previous SDK installed alongside, its 3.1.x simulator will continue saving its data in:


〜/ Library / Application Support / iPhone Simulator /用户/应用程序/ [appGUID] /

对于Xcode6和iOS8


〜/ Library / Developer / CoreSimulator / Devices / [ DeviceID] / data / Containers / Data / Application / [AppID] /

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

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