Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error on MacOS 13.2.1 - cargo run or cargo run --release unable to build and run the flutter app for example provided #198

Open
er-rahulkr95 opened this issue Nov 6, 2023 · 0 comments

Comments

@er-rahulkr95
Copy link

Below is the error coming when running cargo run --release (same for cargo run) on Example project of native shell

MacBook-Pro examples-main % cargo run --release
    Finished release [optimized] target(s) in 0.19s
     Running `target/release/nativeshell_examples`
2023-11-06 17:20:11.482 nativeshell_examples[92659:9566479] -[IMApplicationDeleagte setTerminationHandler:]: unrecognized selector sent to instance 0x7fb65a010360
2023-11-06 17:20:11.482 nativeshell_examples[92659:9566479] -[IMApplicationDeleagte removeApplicationLifecycleDelegate:]: unrecognized selector sent to instance 0x7fb65a010360
fatal runtime error: Rust cannot catch foreign exceptions
zsh: abort      cargo run --release

The steps follow to run the project

  1. Installed the Rust from - https://www.rust-lang.org/tools/install
  2. Installed the Flutter from https://flutter.dev/docs/get-started/install
  3. Enabled Flutter desktop support
  4. Downloaded the Zip from https://github.com/nativeshell/examples.git
  5. Extracted the zip and opened it in the vs code
  6. In terminal, run the project using "cargo run" as well as using "cargo run --release"

But the same issue is coming for both commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant