TEARS OF THE KINGDOM / IPHONE & IPAD

Tears of the Kingdom on iPhone and iPad

Build on your Mac, then let the project’s install script sign the app with your own Xcode account and copy it to a physical iPhone or iPad. Running it again renews the signature and keeps your saves.

No JIT: build on the Mac, then sign and install

You do not need to activate an emulator JIT session for this native build. The Mac prepares the game code before installation. On the device, you open a signed app with its own game data.

  1. Build: choose the intended source and game update; prepare the IPA and game image on the Mac.
  2. Sign: let install_device.py use your Xcode account, or follow the older signing route for an older IPA. Keep the increased-memory capability in the app signature and profile.
  3. Copy the data: with the Documents route, finish the game-image transfer as well as installing the app.
  4. Open and keep progress: load a save before cleanup. Renew with the same app identity, and keep an exported backup before changing versions.

Start the MacNativeGames install steps ↓ · Using the graphical multi-game library? Choose the NX2Apple installation route instead →

Match the device, game and source

Recorded deviceSystemGameRecorded result
iPhone 14iOS 26.6.11.4.3Played by the project author; personal development team signing in Xcode
iPad with A16iPadOS 26.7.11.4.3Played by the project author with the same signing route

These identify the two devices in the project’s detailed mobile play notes. Meeting the stated OS/device requirement is separate from having a play result for a particular newer iPhone or M-series iPad.

Current source · 933b6a0

  • install_device.py signs with your Xcode team and installs over the cable (22 October on).
  • --ios-game-data documents keeps the 17 GB image out of the IPA and copies it to the device once.
  • Breath of the Wild 1.6.0 builds and installs the same way at this 933b6a0 source. BOTW’s platform/version comparison separates the later iPad-title result from iPhone 14 play.

Earlier guide source · f134a7b

  • The iOS builder accepts game 1.0.0, 1.1.2, 1.2.1 and 1.4.3; only 1.4.3 has the mobile play records above.
  • The IPA is unsigned and holds the game image; you sign it with a separate tool.
  • Prepared shaders are read from the app bundle; the scene lifecycle for Xcode 27 / iOS 27 is included.

Earlier source · b75be8c

  • Earlier first launch copied the shader seed into Documents and could take several minutes.
  • It predates the newer scene lifecycle. For an Xcode 27 / iOS 27 startup issue, rebuild from current guide source.
  • Keep the same signing identity when replacing that older app, and export saves first.

The game update, repository revision and app metadata version are different. Device Hub may show app version 1.0 even when you built game 1.4.3. Keep the generated build command and source revision with your IPA.

Mac-only options and separate feature branches
  • Breath of the Wild: 1.6.0 was played on an iPhone 14 at the current source; 1.9.0 builds but had not been played on a phone. BOTW on iPhone.
  • Apple Vision Pro: the current source has an early windowed 16:9 build with a controller, using --platform visionos. See its install steps ↗; this site has no Vision Pro record.
  • The Mac’s settings panel, controls.txt installation, update_runtime.py and player mods/v143 folder are not this iOS workflow.
  • Experimental forks or settings branches need their own game version, source revision and iOS device test results rather than relying on desktop Mac numbers.
  • Choose an Xcode version that supports your device OS. Xcode 27 uses Device Hub; Xcode 26 has the older Devices and Simulators window. A simulator is not the target for this device IPA.

Build an unsigned IPA on the Mac

INSTALLATION MAP · DIAGRAMThe Mac builds it. Your device plays it.
  1. 01 · On your MacGame + update + keys--platform ios
  2. 02 · Sign the IPAKeep the memory entitlementTOTK.ipa
  3. 03 · On the deviceInstall → open → playiOS / iPadOS 26+

An unsigned IPA is the build output. Signing and device installation are the next steps, not part of the browser tool.

Complete the Mac tools and fixed-source setup, then stay in that source folder. Use the iPhone / iPad target instead of running the Mac app build.

01

Prepare the full iOS toolchain

Install and open full Xcode 26 or later, add its iOS and Metal components, and follow Xcode’s initial setup. Command Line Tools alone do not include the iOS SDK.

Install the iOS build helpers
brew install xcodegen cmake ninja

Confirm xcodebuild -version identifies the intended full Xcode installation. If it reports only Command Line Tools, select Xcode in Xcode Settings → Locations → Command Line Tools.

02

Select iPhone / iPad and the matching game update

In the build tool, choose Build for → iPhone / iPad, your base game and keys, and the 1.4.3 update. It generates both this command and the install command. Replace the example paths with yours.

Example · build the recorded 1.4.3 iOS route
python3.14 build_app.py "$HOME/Games/totk.xci" \
  -k "$HOME/keys/prod.keys" --update "$HOME/Games/totk-1.4.3.nsp" \
  --platform ios --ios-game-data documents -o "$HOME/Games/Tears of the Kingdom.ipa"

Keep the device connected by cable while building. The build then compiles the game’s pipelines for its GPU on the Mac (about 10 more minutes the first time), and the first start needs no long fill before the title. For a device that is not connected, add --device-gpu applegpu_g14p (an iPhone 14). The first iOS build also downloads and compiles device libraries.

The output ends in .ipa and Terminal reports done; the install step comes next.

Optional Mac reminder for missing shaders

The build installs a small Mac reminder agent. While the device is connected by cable or paired Wi-Fi, every 500 new missing shaders it can ask whether to send the list to the project. Use --no-shader-reminder in the build command to skip it, or remove the agent later:

Remove the shader reminder agent
python3 games/totk/ios/tools/shader_contrib_watch.py uninstall

Sign the IPA, then install it

On the current source, one script does both: it signs with the Apple Development certificate of your Xcode team and copies the app, and the game image once, to the connected device.

01

Prepare the device and Xcode

Sign in under Xcode › Settings › Accounts; a free Apple ID works. Connect the iPhone or iPad by cable, unlock it and trust the Mac. Turn on Developer Mode on the device if it asks.

The device is unlocked, trusts this Mac and shows Developer Mode on.

02

Run the install script from the MacNativeGames folder

Install the 1.4.3 IPA built with --ios-game-data documents
python3.14 games/totk/ios/tools/install_device.py "$HOME/Games/Tears of the Kingdom.ipa" \
  --device "Jack’s iPhone" \
  --game-data "$HOME/Games/TOTK_build/totk/extracted/v143/romfs/romfs.bin"
  • --device is needed only when more than one device is paired; use the name Finder shows.
  • --game-data names <work folder>/totk/extracted/<version>/romfs/romfs.bin; v143 for 1.4.3. Check with ls "$HOME/Games/TOTK_build/totk/extracted".
  • It stops if the device is on Wi-Fi only: plug in the cable, unlock it and run it again. --wifi installs anyway, slowly, and the copy can drop.

The app appears on the device; the first install also copies about 17 GB of game data.

03

Trust the developer once

If the device asks, go to Settings › General › VPN & Device Management and trust your developer certificate.

The app opens instead of showing an untrusted-developer message.

iPhone and iPad in docs/install.md ↗ · What install_device.py does ↗

Earlier source (f134a7b or before): sign the unsigned IPA yourself

Those IPAs have no install script. Sign them with your own certificate and a profile that keeps the increased-memory entitlement, then install with Device Hub. The real screenshots below show AppSigner and Device Hub with their own sample apps.

This route uses iOS App Signer 1.14 to sign your IPA and Xcode to install it. Keep the unsigned IPA so you can renew signing later without rebuilding the game.

APP IDOne exact identifierFor example, com.yourname.totk. Reuse the installed app’s ID for an update.
CERTIFICATEYour signing identityAn Apple Development certificate and its private key on your Mac.
PROFILETeam + app + deviceA valid profile permitting this identifier, your device and the required capability.
01

Pair the physical device and finish Developer Mode

Connect the device with a data cable. Unlock it, accept Trust This Computer, and follow Xcode’s pairing instructions. In Xcode 27, open Xcode → Open Developer Tool → Device Hub and select the physical device.

On the device, open Settings → Privacy & Security → Developer Mode. Follow the restart prompt, then confirm after restart. If the switch is missing, begin pairing with Xcode first. Apple’s preparation steps ↗

Xcode recognizes your unlocked iPhone or iPad as available for development.

02

Prepare the identifier, certificate and memory-capable profile

In Xcode Settings, add your Apple account under Accounts. Use a small iOS App project to prepare signing: select your team, use the intended Bundle Identifier, turn on Automatically manage signing, and choose your connected device.

  1. In the target’s Signing & Capabilities pane, use + Capability to add Increased Memory Limit.
  2. Let Xcode refresh the development profile for that app and device. Follow any registration or signing issue shown in the pane.
  3. Use that team’s certificate and matching profile in App Signer. If you already have suitable signing material, use it directly.

App Signer 1.14 takes entitlements from the selected profile. The profile must permit the memory capability; adding a key to the original IPA or editing a downloaded profile cannot grant it. Available capabilities depend on the team. Xcode capability setup ↗

App Signer · match these four fieldsOpen full screenshot ↗
The maintainer’s English App Signer example shows Input File, Signing Certificate, Provisioning Profile, New Application ID and Start.
The maintainer’s real English example uses Kodi and an older window style. For this guide, select your TOTK.ipa, your certificate and profile, and the exact app ID that profile allows. The field names are the ones used below. App Signer instructions ↗

Swipe sideways for the full detail, or open the original screenshot. The numbered steps describe the same action.

03

Select the IPA and save a separately signed copy

Input File
Your local TOTK.ipa from the build step.
Signing Certificate
The Apple Development identity for the intended team.
Provisioning Profile
The matching, unexpired profile that includes this physical device.
New Application ID
The exact identifier allowed by that profile. For updates, keep the installed app’s identifier.

Choose Start and save a new file, for example TOTK-signed.ipa. An unchanged display name helps identify the app, but the Bundle Identifier is what identifies it for updates.

App Signer finishes and creates your chosen signed IPA output.

04

Inspect the result before installing

The signed app must still contain com.apple.developer.kernel.increased-memory-limit set to true. Check its identifier and signing team against your intended installation, and check the embedded profile’s expiry.

Inspect the signed IPA in Terminal

Use one Terminal session for these commands. Replace the IPA path with yours. Extraction uses a fresh review folder and needs space for another unpacked copy of the app.

1 · Extract a review copy of the signed IPA
REVIEW_DIR="$(mktemp -d "${TMPDIR:-/tmp}/totk-signing.XXXXXX")"
ditto -x -k "$HOME/Games/TOTK-signed.ipa" "$REVIEW_DIR"
APP="$REVIEW_DIR/Payload/TOTK.app"
2 · Read the app identifier and signing team
/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" "$APP/Info.plist"
codesign --display --verbose=4 "$APP"

Record the Bundle Identifier and TeamIdentifier for future updates. Do not infer the game version from an app metadata version of 1.0.

3 · Display entitlements and verify the signature
codesign --display --entitlements - --xml "$APP"
codesign --verify --deep --strict "$APP"

Find the memory key followed by <true/> and confirm signature verification finishes cleanly—inspect the entitlements output directly so you know the memory capability survived signing.

4 · Read the embedded profile’s memory key and expiry
security cms -D -i "$APP/embedded.mobileprovision" > "$REVIEW_DIR/profile.plist"
/usr/libexec/PlistBuddy -c "Print :Entitlements:com.apple.developer.kernel.increased-memory-limit" "$REVIEW_DIR/profile.plist"
/usr/libexec/PlistBuddy -c "Print :ExpirationDate" "$REVIEW_DIR/profile.plist"

The memory command should print true. If it says the entry is missing, select a profile permitting the capability and sign again. Renew expired signing material before installation. This read-only review does not modify the IPA or profile.

The entitlement requests a higher memory allowance on supported device models; it does not remove all device memory limits.

Xcode 27 · Apps inspector detailOpen full screenshot ↗
Apple’s English Device Hub Apps inspector has the Apps tab selected, a sample app list, and plus and minus buttons below it.
Detail from Apple’s English Device Hub screenshot. Select your physical iPhone or iPad, open Apps, then use + below the list. Apple’s full example has a simulator and sample apps selected; it illustrates the controls. Apple’s Device Hub guide ↗

Swipe sideways for the full detail, or open the original screenshot. The numbered steps describe the same action.

05

Install on the registered physical iPhone or iPad

  1. In Xcode 27’s Device Hub, select your physical device in the sidebar.
  2. Open the Apps inspector. Use + below the app list.
  3. Choose TOTK-signed.ipa, then Open. Keep the device connected and unlocked until installation finishes.
  4. Open the game on the device and continue with first launch. For an existing installation, follow the update sequence before replacing it.
Using Xcode 26 or an older Devices window?

Choose Window → Devices and Simulators → Devices, select the attached device, then use + under Installed Apps to select the signed IPA. Device Hub’s sidebar + adds or pairs devices; the Apps inspector + installs an app.

Apple’s app installation guide ↗

The installation completes, and the app appears on that device.

Update the app without starting over

Keep the installed app while you prepare its replacement. Export a save backup first. A normal same-app update retains its data container; deleting the app removes its local shared files.

Current source: rebuild the IPA, then run the install again

  1. Renew only: run the same install_device.py command before the signature expires (7 days with a free Apple ID, a year with a paid one). Saves and the shader cache stay in the app’s Documents.
  2. New project version or game update: update_runtime.py updates Mac apps only. Build the IPA again with build_app.py --platform ios, then run the install command. With the same team and bundle identifier, the saves are kept; a device that already holds the same game image skips the 17 GB copy.
SIGNING EXPIRES

Renew the signature

Keep the original unsigned IPA. Refresh the signing material, then sign it again with the same team and Bundle Identifier. A game rebuild is not needed just to renew signing.

NEW SOURCE OR GAME UPDATE

Build, then sign

Build the selected version from the intended source. Sign the new IPA with the existing app identity and install it over the old app. Keep a backup made before changing game versions.

DIFFERENT APP ID OR TEAM

Plan the data transfer

A new Bundle Identifier creates a separate app container. A team/signature mismatch can reject an upgrade. Export saves before changing either; do not delete the old app to force an installation.

  1. Export and inspect a backup. Follow the save-folder steps below. Keep a copy outside this app, with the game version and date in its name.
  2. Reuse the exact app identity. Keep the same Bundle Identifier and signing team. Select a valid profile including your device and the memory capability.
  3. Install the replacement over the existing app. Use the same Device Hub Apps + or older Installed Apps +. If the installer offers only a delete/reinstall remedy, stop and resolve the mismatch before risking your saves.
  4. Open and load your expected slot. Verify the location and progress before discarding the previous IPA or backup. If progress is missing, keep the trial data and restore a copy.
What to record for the next renewal or rollback
  • Game version and source SHA: from the build command and checked-out source.
  • Bundle Identifier and TeamIdentifier: from the signed app inspection above.
  • Profile expiration: read ExpirationDate from its embedded profile; do not assume every signing route lasts the same number of days.
  • Backup: the outer save folder, copied outside the app. An updated game save is not guaranteed to open in an older game version.

Back up and restore the device’s saves

In the Files app choose Browse → On My iPhone → Tears of the Kingdom, or On My iPad. Copy the outer save folder, preserving everything inside it.

App Documents/
├─ save/                      ← back up this whole folder
│  └─ save/                   ← keep this nested folder
│     └─ <32-hex user id>/
├─ shader-cache/              ← cache, not progress
├─ shader-list-contribution.txt
├─ game-slot/
└─ log.txt

Two save folders are intentional

The iOS launcher uses Documents/save as its profile, and the save system adds another save/<user id> below it. Keep that structure when copying or restoring.

The profile-before-… backup described in the Mac save guide is a Mac launcher feature. Make your own mobile backup before an update.

Finder · Files tab detailOpen full screenshot ↗
Apple’s English Finder file-sharing example shows the Files tab and expanded app folders with documents available to copy.
Detail from Apple’s English Finder example. Its Pages and Keynote folders illustrate file sharing. On your device, expand Tears of the Kingdom and copy the outer save folder to your Mac. Apple’s file-sharing guide ↗

Swipe sideways for the full detail, or open the original screenshot. The numbered steps describe the same action.

Export a backup outside the app

  1. Finish saving and quit the game. Keep it closed while copying.
  2. Copy the outer save folder. On the Mac, connect the unlocked device, select it in Finder, choose Files, expand Tears of the Kingdom, and drag save into a new folder on your Mac.
  3. Name the backup by version and date. For example, make TOTK-iOS-1.4.3-20261023 on the Mac and put the copied save inside it. Open the copy and confirm it contains the nested save/<user id> and your files.
  4. Keep it independent. In the device’s Files app you can also copy the outer folder to a separate iCloud Drive or external-drive folder. A backup left inside Tears of the Kingdom’s own folder is removed with the app.

Restore a working copy, keeping today’s data

  1. Use the matching game version. Quit the installed game. Keep the original backup on the Mac or external location unchanged.
  2. Keep the current device folder. In Files, rename the app’s outer save to an unused name such as save-kept-20261023.
  3. Copy the backed-up outer folder back. Through Finder Files or the Files app, copy a working duplicate into Tears of the Kingdom’s Documents. Name it exactly save. It must contain save/<user id>; do not merge it into the kept folder or flatten the two levels.
  4. Open and inspect the expected save. If it is wrong, quit, rename the trial folder, and put the kept one back as save. Keep your external backup until the expected progress loads correctly.
Whole-container backups and shader files
  • Device Hub’s Apps inspector also manages app data containers. Its container export is a separate whole-app backup format; keep it intact rather than copying its entire directory into the app’s Documents.
  • shader-cache contains compiled graphics data. Replacing a shader cache does not restore saves; a newer source may rebuild or clear obsolete cache entries.
  • shader-list-contribution.txt lists shaders the device missed. Keep log.txt if you need to diagnose launch or runtime failure.
  • The Mac’s ~/Library/Application Support/…/profile path is not an iPhone Files destination. Cross-platform save imports need a compatible game format and a separate backup.

Apple’s file-copy and app-deletion instructions ↗

First launch: wait, load, then confirm progress

01 · CHECK · ABOUT 15 SThe app checks the game dataOn the current source, from the image the install copied.
02 · LOAD · ABOUT 3 MINShaders import before the titleiPhone 14, first start, with a progress bar. Later starts take about 8 s.
03 · CONFIRMLoad the expected saveCheck progress before removing your backup or previous IPA.

The game renders at 960×540, upscaled to the handheld 1280×720, at up to 60 fps. Phone gyro and Phone haptics are separate switches in the system Settings app › Apps › the game; relaunch after changing them. For a debug log, turn on Settings › the game › Debug log; it is written to Documents/log.txt.

Touch controls follow a Switch controller. A compatible connected controller hides the touch layout; touch the screen to use it again, and it hides three seconds after you lift your fingers.

Why older guides show a much longer first start

The earlier 19 October source copied the shader seed into Documents and described a first-start wait of several minutes. The 20 October in-place shader change recorded an iPhone 14 empty-cache run with cache ready at 1.9 seconds and first frame at 6.6 seconds. Those are one run’s observations, not a timing target for every device or build.

Separate signing problems from runtime limits

The app opens, then closes in a busy area

The fixed source’s earlier iPhone 14 play record reached close to 4 GB and closed twice after several minutes. Keep your save backup and device crash report; changing only the first-launch shader path leaves iOS runtime memory limits unchanged.

Some objects are missing

The device cannot translate new shaders during play. A variant absent from the prepared set can skip a draw. Keep shader-list-contribution.txt; a later build can include additional shared variants. The project’s fill_shaders.py is an advanced Mac-assisted route.

The Mac’s picture keys do nothing

The Mac’s 1–5 shortcuts are not iOS controls. Use the touch layout or a compatible controller. For the underlying device records, see mobile performance notes.

Fix the step that failed

App Signer shows no certificate or matching profile
  1. Prepare the Apple Development identity in Xcode for the intended team and connected physical device.
  2. Check the app identifier and capability in Signing & Capabilities. Let Xcode finish profile generation.
  3. Return to App Signer and select that matching identity/profile. A certificate without its private key on this Mac is not a usable signing identity.
The memory entitlement is missing after signing
  1. Inspect both the signed app and its embedded profile using the commands above.
  2. For App Signer 1.14, select a profile that permits Increased Memory Limit. Re-sign the original unsigned IPA.
  3. If the team cannot provision that capability, resolve the signing route first. Editing profile contents or only setting the unsigned executable’s key cannot grant it.
The device is absent, unpaired, or asks for Developer Mode
  1. Use a data cable, unlock the device and finish its Trust prompt.
  2. Use an Xcode release supporting the device OS. In Device Hub select the physical device and follow pairing status messages.
  3. Begin pairing before looking for Developer Mode; finish the device’s restart and confirmation. Then retry installation.
The profile or application identifier is rejected
  1. Check that the selected profile is unexpired and includes this physical device.
  2. Use the exact app ID allowed by that profile, and a certificate from the same team.
  3. For an update, compare the installed app’s identifier/team with the replacement. Keep the original installed and backed up while correcting the mismatch.
The old app stopped opening after signing expired
  1. Keep the app installed and export the outer save folder if it remains available through Files or Finder.
  2. Renew the signing material and re-sign your retained unsigned IPA with the same team and identifier.
  3. Install it over the existing app. Load your expected save before discarding the backup.
An update created a second icon or starts new progress
  1. Compare the Bundle Identifiers. A new ID means a separate container, even if the display name looks the same.
  2. Leave the old app installed. Export its outer save folder.
  3. Use the original identity for an in-place replacement, or deliberately restore a compatible working copy into the new app using the restore procedure.
The Files app does not show the save folder
  1. Open the installed app once so it can create Documents folders, then quit.
  2. Check Files → Browse → On My iPhone / iPad → the app’s display name. App Signer may have changed that name.
  3. Use Finder’s device Files tab as an alternative. Keep both save levels; do not look for the Mac’s profile directory.
The app installs but closes before the title
  1. Confirm the final signature and memory entitlement, rather than assuming unsigned-build success proves signing.
  2. For an earlier build linked with Xcode 27 on iOS 27, rebuild from the current source with its scene lifecycle.
  3. Keep the device crash report and log.txt. Use the runtime distinctions above and the troubleshooting guide for the actual error.