Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting images from iPhone simulator

Tags:

I have just created an image and saved it in iPhone simulator phone library. I want to view this image(not from Photo Library) to view its properties from document resources. But I am not able to access the contents of photo library.

Thanks
Pankaj

like image 533
pankaj Avatar asked Mar 30 '11 16:03

pankaj


People also ask

How do I access iOS simulator files?

# Open application folder in Finder First, copy the path to the app folder from Xcode console. Then open Finder, click on Go -> Go to Folder and paste the application directory path. You will now be able to browse all the files in your application folder.

Where are simulator files saved?

Where are simulator files saved? You also may just go to the ~/Library/Developer/CoreSimulator/Devices/ folder in Finder ( Shift+Cmd+G ), and then click on the Date modified tab on the top of the folder menu. You'll get the most recently used simulator folder without UDID.

Where does the iPhone simulator store its data?

type: ~/Library/Application Support/iPhone Simulator. The Directories are the iOS version of the different Simulators. The Sub Directories are the Apps install on the simulator.


2 Answers

With Xcode 6 the simulator image files are now located in:

~/Library/Developer/CoreSimulator/Devices/<device UDID>/data/Media/DCIM/100APPLE

Where the value of <device UDID> can be determined using the command: xcrun simctl list devices.

EDIT - Path is still valid for Xcode 10.1 version.

like image 105
ThomasW Avatar answered Sep 28 '22 09:09

ThomasW


Go to this folder (Finder, Shift+Command+G):

~/Library/Application Support/iPhone Simulator/(version)/Media/DCIM/100APPLE

replacing "(version)" with your Simulator version. You should find all the photos there.

like image 24
ySgPjx Avatar answered Sep 28 '22 09:09

ySgPjx