Skip to content

CLI: rebuilds will not relaunch the iOS simulator #5156

@nicoburns

Description

@nicoburns

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliRelated to the dioxus-cli program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions