diff --git a/test-apps/ios-test-app/scripts/build-and-deploy.sh b/test-apps/ios-test-app/scripts/build-and-deploy.sh index 3b68658..7775aeb 100755 --- a/test-apps/ios-test-app/scripts/build-and-deploy.sh +++ b/test-apps/ios-test-app/scripts/build-and-deploy.sh @@ -103,12 +103,18 @@ if [ "$SIMULATOR_DEVICE" != "Any iOS Simulator Device" ] && [ "$SIMULATOR_DEVICE if [ -n "$BOOTED" ]; then log_info "✓ Simulator already booted: $SIMULATOR_DEVICE" + # Ensure Simulator window is visible + log_info "Opening Simulator app window..." + open -a Simulator else log_info "Booting $SIMULATOR_DEVICE..." # Try to boot by device name first if xcrun simctl boot "$SIMULATOR_DEVICE" 2>&1; then log_info "✓ Simulator booted successfully" - # Wait a moment for simulator to fully initialize + # Open Simulator app window so user can see it + log_info "Opening Simulator app window..." + open -a Simulator + # Wait a moment for simulator to fully initialize and window to appear sleep 3 else log_warn "Could not boot simulator automatically"