Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pfitz/97fa39f3feeb4ba83c877bdfa3f7aa8c to your computer and use it in GitHub Desktop.
Save pfitz/97fa39f3feeb4ba83c877bdfa3f7aa8c 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