Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

556 B
Raw Blame
// Standard Tauri v2 plugin build script.
// Generates iOS Swift package metadata consumed by `tauri-plugin`.
const COMMANDS: &[&str] = &[
    "start_listening",
    "stop_listening",
    "speak",
    "cancel_speech",
    "list_voices",
];

fn main() {
    std::env::set_var(
        "IPHONEOS_DEPLOYMENT_TARGET",
        std::env::var("IPHONEOS_DEPLOYMENT_TARGET").unwrap_or_else(|_| "16.0".to_string()),
    );

    tauri_plugin::Builder::new(COMMANDS)
        .ios_path("ios")
        .try_build()
        .expect("failed to run tauri-plugin build");
}