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
path=$(find ~/Library/Developer/Xcode/DerivedData/MultipleSimulators-*/Build/Products/Debug-iphonesimulator -name "MultipleSimulators.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.guilhermegirotto.MultipleSimulators # Launch .app using its bundle at simulator with identifier hold by $line var