Skip to main content

Module ddi

Module ddi 

Source
Expand description

The developer disk image. The accessibility, screen and input services iph uses come from it, and the phone forgets it when it restarts.

iph does not ship Apple’s image. It uses Xcode’s copy when the Mac has one, and otherwise fetches the Cryptex variant once from the public DeveloperDiskImage repository (pinned commit, every file checked against its SHA-256) into its own folder. Apple’s signing server personalizes it for the phone either way.

The Cryptex route (cryptexd over the tunnel) is the one that works from iOS 17.4 on and is the only one for phones newer than the image’s own device list (iPhone18,5 for Xcode 27.1’s image).

Functions§

fetched
The fetched image’s folder, fetching it first when it is missing or does not match. Uses the system’s curl (macOS, and Windows 10 and later).
install
Install the image through cryptexd. Returns where the image came from.
xcode_restore
Where Xcode keeps the image (macOS only).