18 Jun 2009, 9:20am

leave a comment

Extracting data from the iPhone Simulator

I wrote earlier about extracting data from the iPhone backup – something very useful for backup & debugging purposes.

Developers can also access the Simulator’s data, and no extraction is needed:

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

(~ is unix shorthand for /Users/yourusername)

The cool thing is that because no extraction is needed you can even edit the data in-place, e.g. using sqlite3. And, you can copy your live data from your iPhone (extracted as per these instructions) right over the simulator data. Very handy indeed for GPS Log!

Neat.

If you have lots of sample apps it may be hard to find which is yours, use grep to filter the list with the current day, then there’s at least less to wade through.  Chances are the directory with the most recent timestamp is your app.

ls -la | grep “21 Jun”

*name

*e-mail

web site

leave a comment