-
-
Save tianying484/1ec8cfcdb8d1db3eeb6d to your computer and use it in GitHub Desktop.
Open Some Application Scheme URL in the Booted iOS Simulator.
This file contains 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