This tool generates a Xcode Framework using your rust code, using UniFFI
Future versions will support creating Applications as well.
Simply type in terminal:
bash
cargo install xcode_uniffi
I recommend you to run this code inside the root of your rust project. Simply type:
bash
xcode_uniffi create
By default it will create Xcode Framework for iOS + iOS simulator + MacOS in
You can pass command line arguments to change the default values. Please keep the Xcode project as a subdirectory of your rust project, so, Xcode can compile it everytime for different architectures.