Build with GitHub Actions

Understand the jiayx/d2r-mobile-build v2.3.0 GitHub Actions workflow, private prepared inputs, version matching, and iOS/macOS output files—plus easier 1-click prebuilt and 2-click GUI alternatives.

Easier options Prebuilt IPAs or Prep Assistant v0.2.0
Workflow template jiayx/d2r-mobile-build (v2.3.0+)
Shader benefit Precompiled Metal shaders included
Privacy rule Keep prepared inputs & outputs private
On this page (5 sections)

Looking for the simplest way to install? Most visitors do not need to configure GitHub Actions, repository secrets, or macOS cloud runners: - 1-click prebuilt packages: Grab ready-to-sign .ipa files on the iPhone & iPad Install Guide or standalone Mac .zip files on the Mac Setup Guide. - 2-click local GUI: Use D2R Prep Assistant v0.2.0 (Windows & Apple Silicon Mac) to build your own .ipa, Legacy Device Pack, or Android android/ folder locally without cloud runners.

Read on if you specifically want to run jiayx/d2r-mobile-build in your own private GitHub repository.


When this route makes sense

Use the cloud workflow if you already understand GitHub Actions and want to compile private v2.3.0 iOS or macOS builds from your own version-matched prepared-input package. It avoids needing a local Mac for compiling Metal shaders, though it does not remove the input preparation, copyright, or Apple signing requirements.

For a local Windows or Mac GUI route, use D2R Prep Assistant v0.2.0 or Windows CLI packaging with the clean shells (D2RMobile-shell-build-input.zip and D2RMobile-shell-ios18-build-input.zip). Never confuse an upstream clean shell with a jiayx prepared-input archive—they are completely different build inputs.

What prepared input contains

The jiayx/d2r-mobile-build iOS prepared-input format includes prepared.json, source-payload.zip, shader-chain.lock, resource-manifest.json, romfs-inputs.zip, Legacy metadata, and generated headers. Its metadata identifies the exact source commit (for v2.3.0, upstream commit 6a3f1ee29ac6f27cd26cdd9eea1d29696106dac1), game version, checksums, and generation dependencies.

For macOS prepared inputs, the archive packages the desktop host inputs, Metal shader libraries, and build_manifest.psv metadata needed for the standalone .app bundle.

The payload includes a rewritten game program and compiled shaders. It is game-derived content, not a freely redistributable source archive. This site does not supply prepared inputs or link to any copyrighted game archives.

If shader-generation or program-rewriting rules change upstream (such as moving from v2.2.x to v2.3.0), an older prepared package must be regenerated. A successful download alone does not prove compatibility.

Prepare inputs privately

  1. Create a private repository from the jiayx/d2r-mobile-build template. Review its workflow code and current requirements before enabling Actions.
  2. Configure GAME_ARCHIVE and LEGACY_METADATA as private repository secrets pointing to your own private storage (JSON containing an HTTPS URL and SHA-256 for each input). Never commit console keys, game archives, or proprietary binaries to any repository.
  3. Run the supplied Prepare iOS input (or Prepare macOS input) workflow definition in your private repo.
  4. Inspect the resulting private release, source commit, and checksum manifest before feeding it into a build.

Do not assume that a private GitHub Release URL will work in every unauthenticated download field. Follow the workflow's documented authentication path and never expose a private token in public configuration.

Run an ordinary build

Once compatible v2.3.0 inputs are ready:

  1. In your private repository, open Actions → Build IPA or Build macOS.
  2. Choose Run workflow. Supply your HTTPS package configuration and checksum information in the prepared_input field.
  3. Check source_repository and source_ref. Leave source_ref empty only if you intend to build the default Release selected by the workflow; specify an explicit compatible tag or commit (such as v2.3.0) when needed.
  4. Review GitHub's current Actions allowance and spending settings before starting. Private macOS runner usage consumes included minutes rapidly; this guide does not promise a free build.
  5. Run the workflow and read its logs. Do not bypass failed checksum or manifest checks.

Download and choose the output

The jiayx/d2r-mobile-build workflow publishes outputs under your private repository's Releases, using independent build numbers (for example, v2.3.0-build.20.1 for iOS and v2.3.0-build.19.1-macos for Mac):

  • iOS: Standard .ipa for iOS 26+, and -ios18.ipa for iOS 18–25.
  • macOS: -macos26.zip for macOS 26+, and -macos15.zip for macOS 15–25.

Download the matching SHA256SUMS.txt / Mac-SHA256SUMS.txt and build report (build-report.json or macos-build-report.json) too. Because these builds compile Metal shaders on GitHub's macOS runners, they skip the Windows shell route's on-device shader-preparation screen.

Sign an iOS package locally using Sideloadly or AltStore; the cloud workflow does not remove Apple's 7-day provisioning limits. Follow iOS installation for resource import (and Legacy Device Pack if on A14–A16) and save backups before updating. Keep finished game-containing packages and prepared inputs private.

Frequently Asked Questions

Should regular players set up GitHub Actions themselves?

No. If you just want to install and play, use the 1-click downloads on our iPhone & iPad or Mac guides, or package locally using the D2R Prep Assistant v0.2.0 GUI. GitHub Actions is intended for advanced users who want their own private CI pipeline.

Is prepared input the same as an upstream clean shell ZIP?

No. Clean shells (D2RMobile-shell-build-input.zip and D2RMobile-shell-ios18-build-input.zip) contain no game content and are used by d2rm_pack.py locally. A jiayx prepared input contains a rewritten program, precompiled Metal libraries, manifests, and generated headers.

Does a private repository automatically make file redistribution lawful?

No. Private visibility prevents accidental public exposure but is not a copyright license. Use only inputs created from your own copy and do not distribute game-derived build outputs.

Will the default build always use the newest source tag?

No. The documented default selects the upstream Release. A source tag, the latest Release, and a community build number (such as v2.3.0-build.20.1 vs v2.3.0-build.19.1-macos) can differ. Check the actual selected source and its compatible input manifest.