You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Uncomment line below to clear all simulators before launch
#xcrun simctl shutdown all
path=$(find ~/Library/Developer/Xcode/DerivedData/WorkoutLog-*/Build/Products/Debug-iphonesimulator -name "WorkoutLog.app" | head -n 1)
echo "${path}"
filename=SimulatorsList.txt
grep -v '^#' $filename | while read -r line
do
xcrun simctl boot "$line" # Boot the simulator with identifier hold by $line var
xcrun simctl install "$line" "$path" # Install the .app file located at location hold by $path var at booted simulator with identifier hold by $line var
xcrun simctl launch "$line" com.bartondeveloper.WorkoutLog # Launch .app using its bundle at simulator with identifier hold by $line var