iOS Development - Where is my data?

January 6, 2015

Let's start this blog with a useful iOS development tip.

Sometimes you develop an app and need to have a look on data stored or changed during runtime. As you know iOS is locked down in big parts (without a jailbreak) and it is hard to get that data.

For example it is useful to have a look on some stored values in your SQLite db. But how can I reach it during development?

It is possible to access the data if you use the iOS Simulator during developmemt. All data files of the simulator are stored on your hard drive - you just have to find them.

Here are the locations:

iOS 7 and before:

~/Library/Application Support/iPhone Simulator/[OS version]/Applications/[appGUID]/

starting iOS8:

~/Library/Developer/CoreSimulator/Devices/[Device ID]/data/Applications/[appGUID]/Documents/

Unfortunately you have to find the [Device ID]