DioxusLabs / DioxusLabs/dioxus

CLI: rebuilds will not relaunch the iOS simulator

Open
#5,156 0 comments 0 reactions 0 assignees View on GitHub
bug cli
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

The Dioxus CLI will automatically launch the iOS simulator when initiating an iOS build. However, if you close the iOS simulator (either quit the entire app, or just close the simulator window) then a rebuild will not reopen the simulator. Instead the build will fail to deploy with:

```
16:24:02 [ios] No devices are booted.
16:24:02 [dev] Application [ios] exited with error: exit status: 148
```

**Steps To Reproduce**

Steps to reproduce the behavior:

- Run an iOS build with `dx serve --ios`
- Once it opens, close the simulator window
- Press `r` in the dx tui to rebuild

**Expected behavior**

Simulator will reopen

**Environment:**

- Dioxus version: 0.7.2
- OS info: macOS
- App platform: iOS (native/desktop)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.