Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are iOS simulator screenshots stored?

I have saved some screenshots in the iPhone Simulator running iOS 5, but I can't find them.

I had this problem before, and it took me frickin' ages to find them in the file system. Is this so simple that I am just a dullard, or does no-one use this feature or what?

I know I can get the screenshots off my real phone, but I don't want retina screenshots - I want normal screenshots.

like image 547
Flyingkiwi Avatar asked Sep 25 '22 15:09

Flyingkiwi


People also ask

Where are Msfs screenshots stored?

location: C:\Users[username]\Pictures\Screenshots.

Where does the iPhone simulator store its data?

type: ~/Library/Application Support/iPhone Simulator.

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.

How do I take a screenshot in iOS simulator?

Press Command+Shift+4 and then keep the mouse pointer on Simulator and then press "Space Bar" key one camera icon will appear, now left click the mouse. Your simulator screen shot is saved on desktop. You can take the screen shot any small screen in the same way.


2 Answers

  1. If you create screenshots from within the simulator using File -> Save Screen Shot (Command-S), those files end up on the Desktop as something like: iOS Simulator Screen shot Apr 22, 2012.png.

  2. Under Xcode 6 & newer, device screenshots taken with the "Take Screenshot" button in the Xcode "Devices" menu will end up on the desktop. Look for a file named "Screen Shot 2014-MM-DD at HH.MM.SS.png"

  3. For Xcode 5 & older, if you create screenshots from within Xcode (Organizer), you'll find these in ~/Library/Application Support/Developer/Shared/Xcode/Screenshots. To take screenshots from the Xcode (Organizer) you need to have hardware device attached. The organizer does not appear to take screenshots from the simulator.

And outside of Xcode:

  1. If you create screenshots using the Finder (command-shift-3 or command-shift-4), these also end up on the Desktop as something like: "Screen Shot 2012-04-22 at _ AM.png"

  2. If you use the Grab application (found in /Application/Utilities), you can save those files anywhere you decide. :-)

  3. If you have saved a screenshot to the Photos library from within your app, for example with UIGetScreenImage and UIImageWriteToSavedPhotosAlbum, they end up at ~/Library/Application Support/iPhone Simulator/***version***/Media/DCIM/100APPLE

like image 324
Michael Dautermann Avatar answered Oct 17 '22 18:10

Michael Dautermann


They get saved to the Desktop, look for a PNG file with the naming convention "iOS Simulator Screen shot [DATE].png"

like image 48
Udo Avatar answered Oct 17 '22 17:10

Udo