I had the same problem and its because I clicked on the "Clear iPhone Cache and Content" but it seems to get rid of everything,
all you need to do is just re install the whole of xcode again, you don't need to uninstall first just install over previous and the images will be back on the iPhone simulator.
the good thing as well is that you dont loose any of your xcode settings.
That will put them in the photo album. You do not see thumbnails though. I haven't figured that out.. I was told make copies and name them THM file types but i didn't get it to work.. but its better then re-installing.
Yep, just drag any image from any where in your mac, into the iphone sim screen. that'll open up the safari inside the simulator. then you click and hold on the image, a actionsheet will pop up and select Save Image. you're done.
for me, i always backup the images, which is under ~/Library/Application Support/iPhone Simulator/User/Media/DCIM/100APPLE to another folder. So when I do a Reset Settings for iphone sim, i then just copy it back to that place.
Dragging photos into the simulator is OK if you have just one or two. If you need to import more then check out this article. It describes how to do a bulk import of photos with correct generation of thumbnails and updating of the photos database. It works on all versions of the simulator including 4.x.
Someone said it! All you have to do is find your image, or images (I used JPEG's), drag them into the simulator window. Safari will open with your image in the browser window. Left click (if on a MacBook Pro, or use your mouse) on the image, a popup window should open offering for you to save your image. Click on save and your image(s) will be in your Photo app.
That's it! Very simple.
Thanks to all for the clues.... I was wondering how to do this and I was looking for the complicated solution, like dragging images to a Simulator folder somewhere, but you guys pointed me to just dragging images to the simulator window!
Because of that, I've now registered to this site as one of my favorite iPad/iPhone/iPod Touch developer resources.
Anyone in the Pacific Palisades, Malibu, Santa Monica, CA (90402) area, want to co-venture/co-develop some really cool, revolutionary apps and new hardware with me? I've just formed this new company and plan to grow it fast, with a massive IPO in the near future....
My first two, silly GodApp's are at the Apple App store, and exercise in the process, from beginning to finish, on developing and getting Apple App's released. I'm working on the real ones now (including hardware).
Just testing.... but, yeah, drag image to iOS simulator window...
I testing this out, but yeah, as someone said, open up the Apple iOS simulator and drag an image to the simulator window (iPad, or iPhone/Touch), then click on that image, hold it and you will be asked to save it. That's it!
Pretty simple.
__________________
--
J O H N A V A T A R ™
Pacific Palisades, CA 90402