Created
November 7, 2021 15:49
-
-
Save buzzySmile/3bf4e4a7abcc7fd845fe27730fa18187 to your computer and use it in GitHub Desktop.
Path to currently booted iOS Simulator storage folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
BOOTED_SIM_UUID=$(xcrun simctl list | grep 'Booted' | grep -o -E '[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}' | head -1) | |
echo 'Path to the booted iOS Simulator storage' | |
echo ~/Library/Developer/CoreSimulator/Devices/$BOOTED_SIM_UUID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment