Where does the iPhone Simulator store its data?

我有一个SQLite数据库用于存储应用程序数据,我可以通过查看它来调试我遇到的问题 - 但iPhone模拟器通常在哪里存储数据?


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/Application Support/iPhone Simulator/[OS version]/Applications/[appGUID]/

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

~/Library/Application Support/iPhone Simulator/User/Applications/[appGUID]/

For Xcode6 and iOS8

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


找到了:

~/Library/Application Support/iPhone Simulator/User/

iOS 8〜/ Library / Developer / CoreSimulator / Devices / [Device ID] / data / Applications / [appGUID] / Documents /

链接地址: http://www.djcxy.com/p/63250.html

上一篇: 图像没有显示在iPhone中的Web视图设备

下一篇: iPhone Simulator在哪里存储数据?