rust-ios-bazel-demo

A demo iOS app building with Bazel, Rust and Swift

Stars
4

Rust iOS Bazel Demo

https://github.com/jpsim/rust-ios-bazel-demo/assets/474794/4e6957b9-d38f-4f5c-891d-cb79c60cdc73

Requires having Xcode installed.

First generate and open the Xcode project:

bazel run xcodeproj && xed .

Then build and run the ios_app target on a simulator.

This will build and run the mixed Rust / Swift iOS app source code.

To update the cargo dependencies, you can run CARGO_BAZEL_REPIN=true bazel build rust_lib.

Credits

I took inspiration from and used the following projects to set up this demo: