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!!

Using SDK applications on pwned development iPhones/iPod Touch

Erica wrote an interesting article that explains how to use SDK generated application on iPhone running a pwned version of iPhoneOS 2.0.
It will be useful for those who try to run their SDK application for testing purpose.
Read the full article here.

For me… I’m still waiting for official release of the iPhone 2.0 :sigh: