View Source ExMobileDevice.ImageMounter (exmobiledevice v0.3.1)

Functions for dealing with developer disk images.

Summary

Functions

Fetch a signature for the specified device.

List mounts on the target device.

Look up the signature of the specified image.

Mount a developer disk for a pre-iOS17 device.

Unmount the disk at the specified path.

Functions

fetch_manifest_from_tss(udid, build_manifest_path)

@spec fetch_manifest_from_tss(String.t(), Path.t()) ::
  {:ok, binary()} | {:error, any()}

Fetch a signature for the specified device.

list_mounted(udid)

@spec list_mounted(String.t()) :: {:ok, [map()]} | {:error, any()}

List mounts on the target device.

lookup_image_signature(udid, type)

@spec lookup_image_signature(String.t(), String.t()) ::
  {:ok, binary()} | {:error, any()}

Look up the signature of the specified image.

mount(udid, image_path, sig_path)

@spec mount(String.t(), Path.t(), Path.t()) :: :ok | {:error, any()}

Mount a developer disk for a pre-iOS17 device.

mount(udid, image_path, build_manifest_path, trust_cache_path, info_plist \\ nil)

@spec mount(String.t(), Path.t(), Path.t(), Path.t(), map() | nil) ::
  :ok | {:error, any()}

Mount a developer disk for an iOS 17+ device.

unmount(udid, mount_path)

@spec unmount(String.t(), Path.t()) :: :ok | {:error, any()}

Unmount the disk at the specified path.