Go to file
Daohan Chong f30caa194d Update with legacy API demo to say greetings 2022-01-24 10:50:05 +08:00
.github/workflows Publish xcframework 2022-01-09 13:01:21 +08:00
.vscode Update with legacy API demo to say greetings 2022-01-24 10:50:05 +08:00
hello Update with legacy API demo to say greetings 2022-01-24 10:50:05 +08:00
.gitignore Inital commit 2022-01-08 14:15:24 +08:00
LICENSE Inital commit 2022-01-08 14:15:24 +08:00
Makefile Add cargo install uniffi_bindgen 2022-01-09 12:32:21 +08:00
README.md Minor fixes 2022-01-10 10:15:59 +08:00

README.md

Fullstack Examples of UniFFI-rs

Full documentation of the UniFFI crates can be found here.

Working in progress

Prerequisites

iOS

  1. Latest Xcode (13.x)
  2. Rust toolchains for iOS: make prepare-apple or rustup target add aarch64-apple-ios-sim --toolchain nightly && rustup target add aarch64-apple-ios x86_64-apple-ios. Check installaion:
    $ rustup target list --installed | grep ios
    aarch64-apple-ios
    aarch64-apple-ios-sim
    x86_64-apple-ios
    
    Please note that aarch64-apple-ios-sim requries the nightly toolchain (https://doc.rust-lang.org/nightly/rustc/platform-support/aarch64-apple-ios-sim.html).
  3. Install uniffi-bindgen: cargo install uniffi_bindgen, details: https://mozilla.github.io/uniffi-rs/tutorial/Prerequisites.html

License

MIT