Created
May 31, 2015 07:01
-
-
Save sodabiscuit/388c64f6d01c51b76081 to your computer and use it in GitHub Desktop.
Open Some Application Scheme URL in the Booted iOS Simulator.
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 | |
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