Skip to main content

ensure_ios_project

Function ensure_ios_project 

Source
pub fn ensure_ios_project(
    output_dir: &Path,
    crate_name: &str,
) -> Result<(), BenchError>
Available on crate feature full only.
Expand description

Auto-generates iOS project scaffolding from a crate name

This is a convenience function that derives template variables from the crate name and generates the iOS project structure. It auto-detects the default benchmark function from the crate’s source code.

§Arguments

  • output_dir - Directory to write the ios/ project into
  • crate_name - Name of the benchmark crate (e.g., “bench-mobile”)