Skip to content

Instantly share code, notes, and snippets.

@sodabiscuit
Created May 31, 2015 07:01
Show Gist options
  • Save sodabiscuit/388c64f6d01c51b76081 to your computer and use it in GitHub Desktop.
Save sodabiscuit/388c64f6d01c51b76081 to your computer and use it in GitHub Desktop.
Open Some Application Scheme URL in the Booted iOS Simulator.
#!/bin/sh
xcrun simctl list | grep 'Booted' | awk -F "[()]" '{ for (i=2; i<NF-1; i+=2) print $i }' | xargs -J {} xcrun simctl openurl '{}' $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment