idevice
Installation

Overview

Install the idevice crate and set up your environment.

Prerequisites

1. Install Rust

idevice requires a recent Rust toolchain (edition 2024). Install via rustup:

Terminal
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2. Install usbmuxd

To communicate with devices over USB, you need the usbmuxd daemon running on your host machine.

Pre-installed on macOS. iTunes or Xcode provides it automatically.

sudo apt install usbmuxd

Install iTunes from the Microsoft Store, which includes usbmuxd.

Quick start

Add idevice to your Cargo.toml:

Cargo.toml
[dependencies]
idevice = { version = "0.1.64", features = ["usbmuxd", "pair"] }

Pin your version

Breaking changes happen at each point release until 0.2.0. Pin to a specific version to avoid breakage.

On this page