View Source ExMobileDevice.ImageMounter (exmobiledevice v0.2.19)

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

Link to this function

fetch_manifest_from_tss(udid, build_manifest_path)

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

Fetch a signature for the specified device.

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

List mounts on the target device.

Link to this function

lookup_image_signature(udid, type)

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

Look up the signature of the specified image.

Link to this function

mount(udid, image_path, sig_path)

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

Mount a developer disk for a pre-iOS17 device.

Link to this function

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

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

Mount a developer disk for an iOS 17+ device.

Link to this function

unmount(udid, mount_path)

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

Unmount the disk at the specified path.