-
-
Save ginowu7/071d2c5da3d811716b55cbbd3ad71c8a to your computer and use it in GitHub Desktop.
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/bash | |
xcrun simctl shutdown all | |
path=$(find ~/Library/Developer/Xcode/DerivedData/${project_name}-*/Build/Products/Debug-iphonesimulator -name "${app_name}.app" | head -n 1) | |
echo "${path}" | |
filename=${path_to_MultiSimConfig.txt} | |
grep -v '^#' $filename | while read -r line | |
do | |
echo $line | |
xcrun instruments -w "$line" | |
xcrun simctl install booted $path | |
xcrun simctl launch booted ${bundle_identifier} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment