# ios

Building and Deploying a Rust library on iOS

# cargo lipo

Cargo subcommand to automatically create universal libraries for iOS.

cd localnative_rs/localnative_core
cargo lipo --release

This will build


is symbolically linked to the above rust library.

# lib crate type

To build for iOS, Cargo.toml must use staticlib

name = "localnative_core"
# ios works as below
crate-type = ["staticlib"]