ChatGPT解决这个技术问题 Extra ChatGPT

Where does the iOS Simulator save screen shots?

I can't find iOS simulator screenshots (supposedly created using cmd+S) since updating to Xcode 4.3 (running on 10.7.3 Lion).

They aren't in ~Library/Application Support/Developer/Shared/Xcode/Screenshots.

Presumably they moved when Xcode moved from Developer, but Spotlight can't tell me where they are either.

See stackoverflow.com/questions/23661097/… for an updated answer

r
rob mayoff

iOS Simulator screen shots are saved to your desktop (~/Desktop). The file names are of the form iOS Simulator Screen shot Feb 28, 2012 12.16.23 PM.png.

You can also choose Edit > Copy Screen (default shortcut: ⌃⌘C) to copy the screen shot directly to your clipboard.


Crikey, 27" Thunderbolt display, and still I didn't spot them behind all those open windows ;-) Thanks.
What a lame default. Oh wait it's not a default because it's not customizable. Double lame. Still, it's super handy to be able to save screenshots so I guess I can forgive it a bit.
@devios1, Now you can.
D
DuneCat

Press Command+S. The screen shot will be saved on your desktop.


P
Pelle Stenild Coltau

On iOS 9.3, the screen shots are called Simulator Screen Shot <timestamp>.png and are still located in ~/Desktop.


E
Edess Elder

For newcomers, let's just use Xcode "Debug" option in the Menu:

Debug -> View Debugging -> Take screenshot of yourPhoneName

(see image below)

The screenshots are saved on the Desktop. I tried only for phone connected to my computer, but it should work also on simulators.

https://i.stack.imgur.com/yS8HJ.png


c
chaosifier

For Xamarin developers using remote MAC pairing from windows, the screenshots are located in Pictures > Xamarin > iOS Simulator directory.