Change the Location of Screen Shots Saved by the iOS Simulator

Just use MacOS defaults =)

#Read current value:

defaults read com.apple.iphonesimulator ScreenShotSaveLocation

#Set path to ~/Pictures/_screenshots:

defaults write com.apple.iphonesimulator ScreenShotSaveLocation -string ~/Pictures/_screenshots

https://macos-defaults.com/simulator/screenshotsavelocation.html#set-to-pictures-screenshots-default-value


Simulator saves screen shot file on (logged-in user's) desktop and it's default path.

To change default path (with Xcode 9+), press and hold ⌥ Option (alt) button from keyboard, while you take a screen shot.
Or
Using Mac Keyboad: Press keys ⌥ Option + + s all together.
It will show a dialog with file storage options and also allows to set/change default path.

enter image description here


I use Automator. It's easy and free. move screenshots


In Xcode 12 we now always set the default location to wherever you last saved a screenshot, so to change the default location press ⌥ + ⌘ + S then select the location.

Also new to Xcode 12 you can right-click on the screenshot preview window that appears and you should see Desktop, Documents, and your custom location (if you've set one that isn't the Desktop). So even if the default is somewhere else you can always send the screenshot to the Desktop. You can also drag this window and drop it in an app or the Finder.


In Xcode 9 you can hold down Option while saving a screenshot and we will prompt you for the location. Check the "Use this as the default location" box to make the selected directory the default for all screenshots.

Screenshot Save Panel