Fix iPhone Simulator’s missing Photo db

It happens: for same mysterious reason your iPhone Simulator has an empty Photo DB.
I cannot find a way to restore, even re-installing the simulator.
But…. If you have a jailbroken iPhone (or iPod Touch, of curse) you can do it.

Follow the steps:

  1. Identify you iPhone ip address in your local network, usually 192.168.1.6.
  2. Open a terminal in your mac and go to the following directory:
    cd /Users/<UserName>/Library/Application Support/iPhone Simulator/User/Media
    Change UserName in your default user.
  3. Now type the following command
    scp -r root@192.168.1.6:/private/var/mobile/Media/Photos/*

Done! Have fun!!

Author: Mauro

A tech blog

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s