When saving a screenshot from the iOS Simulator, the screenshots are saved to the Desktop
After taking a few, my Desktop is quickly polluted with screen shots that don\'
EDIT: iOS Simulator custom screenshot directory support added in Xcode 9 beta
The iOS Simulator does not currently have an option to change the default screenshot directory.
Please duplicate my bug report! http://bugreport.apple.com
rdar://26127809
Allow iOS Simulator to specify a non-Desktop directory for CMD-S screenshots.
In the mean time, I use the app Hazel to automatically move iOS Simulator screenshots (taken via ⌘S) from the default Desktop location to my Simulator Screenshots folder.
Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create.
http://www.noodlesoft.com/hazel.php
Xcode 9 adds behavior for setting a custom directory for iOS Simulator screenshots.
Press ⌥⌘S or Hold the ⌥ Option key and select the menu item:
File > New Screen Shot...
This presents a file "Save As..." dialog. Note the new checkbox on the dialog:
Use this as the default location
Check that checkbox to change the default directory for ⌘S iOS Simulator screenshots.
Following on from: https://stackoverflow.com/a/44810443/14868
As of Xcode 9, you can also set the output folder using the defaults command and integrate it with any machine setup you use.
Example:
defaults write com.apple.iphonesimulator ScreenShotSaveLocation "$HOME/Screen Shots"
You will not be able to do that.
An easy alternative could be:
with changing the default screenshot directory: Change the Screen Shot Save File Location in Mac OS X