Skip to content

Instantly share code, notes, and snippets.

@florianbuerger
Last active March 6, 2019 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save florianbuerger/c62d4aa7f216d9f55f9e67b67bdee8f0 to your computer and use it in GitHub Desktop.
Save florianbuerger/c62d4aa7f216d9f55f9e67b67bdee8f0 to your computer and use it in GitHub Desktop.
Target all simulators (Fish)
for sim in (xcrun simctl list devices | grep "(Booted)" | grep -E -o -i "([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})")
	xcrun simctl <command> $sim
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment