ios-core 0.1.1

High-level device API, pairing transport, and discovery for iOS devices
Documentation

ios-core

High-level Rust API for discovering, pairing, connecting to, and controlling iOS devices.

This is a library crate in the rust-ios-device workspace.

Highlights

  • Device discovery and connection orchestration across usbmuxd, lockdown, tunnel, and XPC layers.
  • Pairing, tunnel startup, and service helpers suitable for applications and tools.
  • Convenience API used by the CLI, FFI, and Python bindings.

Install

[dependencies]
ios-core = "0.1.1"

Example

use ios_core::{ConnectOptions, list_devices};

# async fn run() -> anyhow::Result<()> {
let devices = list_devices().await?;
println!("found {} device(s)", devices.len());

if let Some(device) = devices.first() {
    let connected = ios_core::connect(&device.udid, ConnectOptions::default()).await?;
    println!("connected to {}", connected.info.udid);
}
# Ok(())
# }

Documentation

License

Licensed under either of Apache-2.0 or MIT at your option.