BrainiumLLC / cargo-mobile

Rust on mobile made easy!
Apache License 2.0
1.24k stars 52 forks source link

Feature request: Support launching in Xcode Simulator #92

Open madsmtm opened 2 years ago

madsmtm commented 2 years ago

It would be really nice to be able to debug iOS applications programs by launching them in the Xcode Simulator. Trying to do this inside Xcode currently results in the following error:

[2022-06-11T00:00:00Z INFO  cargo_mobile::util::cli] exiting with ArchInvalid {
        arch: "Simulator",
    }
error: Arch specified by Xcode was invalid
    "Simulator" isn't a known arch
ArthurKValladares commented 2 years ago

Thanks for the report, you are intended to be able to run on the simulator, I will find some time to look into this issue shortly.

lucasfernog commented 2 years ago

We've added support for the Simulator on our fork FYI.