native/native.xcodeproj
info
This guide was written for flutter_rust_bridge v1, thus some content may be outdated. The quickest approach to integrate is to follow the one-click approach in flutter_rust_bridge's quickstart page.
This is the Xcode project folder for the Rust native library generated by cargo-xcode.
The iOS and MacOS root projects import this folder as a subproject and depends on it during
build-time.
It is important that the suitable crate-types are configured for your target devices.
Make sure these lines exist in your Cargo.toml:
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
where
libis required for non-library targets, such as tests and benchmarksstaticlibis required for iOScdylibfor all other platforms