Overview
Store both types of Apple's DeveloperDiskImage files:
DeveloperDiskImage.dmg&DeveloperDiskImage.dmg.signature- Used for each iOS version < 17.0
- The new Personalized images, but splitted to:
- APFS
BuildManifest.plist- Trustcache
- The Cryptex1 assets, for installing the same DDI through
cryptexdinstead of the image mounter:- APFS
BuildManifest.plist- Trustcache
- Cryptex info plist
- Volume root hash
The split of the new format is requires for OS* other than macOS that will have trouble extracting the original APFS
image inside: ~/Library/Developer/DeveloperDiskImages.
Layout
| Directory | Consumed by |
|---|---|
DeveloperDiskImages/<version>/ |
iOS < 17.0 |
PersonalizedImages/Xcode_iOS_DDI_Personalized/ |
the image mounter (mounter auto-mount on iOS 17.0 - 17.3.1 without an RSD tunnel, and released pymobiledevice3 versions) |
PersonalizedImages/Xcode_iOS_DDI_Cryptex/ |
cryptexd (mounter auto-mount from iOS 17.4 or over an RSD tunnel, and cryptex auto-install) |
Newer devices, such as the iPhone 18 series, can only use the Cryptex variant. Every
PersonalizedDMG build identity is tied to an ApChipID/ApBoardID pair, so it only covers the
devices listed in the DDI's build manifest -- even Xcode 27.1's DDI stops at iPhone18,5. A device
outside that list has no identity to request a ticket for (pymobiledevice3 reports
NoSuchBuildIdentityError). The Cryptex1 identity names no device at all
(Cryptex1,UseProductClass, no chip or board), so the manifest doesn't limit which devices it can
be personalized for; Apple's signing server decides, as it does for Xcode.
This is why pymobiledevice3's mounter auto-mount installs the Cryptex variant through cryptexd
from iOS 17.4, setting up the RSD tunnel it needs by itself. The Personalized variant is kept for
backward compatibility: released pymobiledevice3 versions fetch exactly its paths, and iOS 17.0 -
17.3.1 without a tunnel still mounts it.
Every payload is published under a fixed file name, so download URLs stay predictable across releases:
| File | Personalized | Cryptex |
|---|---|---|
BuildManifest.plist |
yes | yes |
Image.dmg |
PersonalizedDMG |
Cryptex1,GenericDmg |
Image.dmg.trustcache |
LoadableTrustCache |
Cryptex1,GenericTrustCache |
Image.dmg.cryptex_info |
-- | Cryptex1,CryptexInfoPlist |
Image.dmg.root_hash |
-- | Cryptex1,GenericVolume |
Apple's own paths embed a build number (022-22107-072.dmg), so the published
BuildManifest.plist is rewritten to declare the fixed names instead. Only Info.Path is
adjusted -- the digests personalization depends on are untouched -- which keeps a downloaded
cryptex directory usable as a drop-in Restore directory.
Updating
update_ddi.py refreshes every variant from a local Xcode installation. macOS only, no
dependencies, run it with uv:
uv run --script update_ddi.py # refresh every variant of the iOS DDI
uv run --script update_ddi.py --dry-run # report what would change, write nothing
uv run --script update_ddi.py --platform tvOS --variant cryptex
Pass --script so uv runs it as a standalone script rather than treating this repository as a uv
project (which would leave a stray uv.lock and .venv behind).
It reads Xcode's bundle from /Library/Developer (falling back to attaching
CoreDevice/CandidateDDIs/<platform>_DDI.dmg when no expanded copy exists), verifies every payload
against the SHA-384 digests in the build manifest before publishing it, and removes stale files
left over from a previous build. Remember to bump LATEST_DDI_BUILD_ID in pymobiledevice3 to match
whatever build it reports.
Python package
Additionally, this repo provides a python API for accessing this repository. You can install it as follows:
python3 -m pip install -U developer_disk_image
Example usage
Payloads are fetched from raw.githubusercontent.com, which is not subject to the REST API's
60-requests-per-hour anonymous quota, so no GitHub token is needed. create() accepts a ref
(branch, tag or commit) to read a revision other than main.
from developer_disk_image.repo import DeveloperDiskImageRepository
repo = DeveloperDiskImageRepository.create()
# will get both the APFS and the signature file
developer_disk_image = repo.get_developer_disk_image('16.4')
# will get all necessary files for mount
personalized_disk_image = repo.get_personalized_disk_image()
# will get all necessary files for installing the DDI as a cryptex
cryptex_disk_image = repo.get_cryptex_disk_image()
Writing the cryptex assets back out under their published names produces a directory that
cryptexd clients accept as-is:
from pathlib import Path
from developer_disk_image.repo import CRYPTEX_IMAGE_PAYLOADS
restore = Path('Xcode_iOS_DDI_Cryptex')
restore.mkdir(parents=True, exist_ok=True)
(restore / 'BuildManifest.plist').write_bytes(cryptex_disk_image.build_manifest)
for field, name in CRYPTEX_IMAGE_PAYLOADS.items():
(restore / name).write_bytes(getattr(cryptex_disk_image, field))
License
The Python package and the scripts in this repository are released under the MIT License.
That license covers only this repository's own code. It does not cover, and grants no rights
in, the disk images and their accompanying files under DeveloperDiskImages/ and
PersonalizedImages/: those are Apple's, see the legal notice below. They are not part of the
Python package, which only downloads them on request.
Legal notice
This repository is not affiliated with or endorsed by Apple Inc. Apple, iOS and Xcode are trademarks of Apple Inc.
The disk images and their accompanying files are Apple's property, as shipped with Xcode. They are mirrored here solely for interoperability, mainly for Linux and Windows, where Xcode is not available: so developers there can use the developer services of their own devices.
- The files are unmodified, except for the
Info.Pathkey of the publishedBuildManifest.plist, rewritten to match this repository's fixed file names. - Nothing here bypasses Apple's protections: on iOS 17 and later, every image still requires a per-device signature issued by Apple's signing server before a device will mount it.
- No fee is charged and nothing here is sold.
Rights holders: to request removal, please open an issue or contact the maintainer. Valid requests will be honored promptly.
Metadata
Release files for developer-disk-image 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| developer_disk_image-0.3.1.tar.gz | 17.0 kB | With provenance | Details for developer_disk_image-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| developer_disk_image-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for developer_disk_image-0.3.1-py3-none-any.whl |
Total release size: 25.2 kB
Release files / developer_disk_image-0.3.1.tar.gz
| Download URL | developer_disk_image-0.3.1.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fad05609d27fa918950732b495a3d54c49a3c3fd1485d0f368658f29754867b3
|
|
BLAKE2b-256 checksum How to use checksums |
4b99a4f7eefa2cd6fb57b2a467ea3097120e5ffd56a0108c62d56796a58fa593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / developer_disk_image-0.3.1-py3-none-any.whl
| Download URL | developer_disk_image-0.3.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cca278b27453df8e69e9a4bf1d05564e77daf13830dad77e168cf76b5f248a1
|
|
BLAKE2b-256 checksum How to use checksums |
dd4f4e7b2d8bab7c14dcbfe942a9af49cb3de197a4c4c1b793197e179ae93849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for developer-disk-image 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for developer_disk_image-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.