Skip to content

Instantly share code, notes, and snippets.

@robinkunde
Created July 19, 2017 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinkunde/eaaa85a2e34cedfb1e6e7ee936414142 to your computer and use it in GitHub Desktop.
Save robinkunde/eaaa85a2e34cedfb1e6e7ee936414142 to your computer and use it in GitHub Desktop.
openSimFolderForBundleID
#!/bin/bash
BUNDLE_PATH=`xcrun simctl get_app_container booted $1`
if [[ $? -ne 0 ]]; then
exit 1
fi
for f in $BUNDLE_PATH/*; do
open -R "$f"
exit;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment