Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

CI: pin Xcode 27.1 on the xcode-27 image, and say so in the READMEs

LNPANDY5b5efad61778
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4f95c3d4..265293f9 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -20,6 +20,9 @@ concurrency:
env:
GAME: 010015100B514000 # Super Mario Bros. Wonder: the profile the host and gfx tests are built for (any profile does; the tests are about code, not the game)
+ # One toolchain everywhere (upstream's dm/tools/tests/test_ci_toolchain.py keeps the name in step
+ # with README and the NSP script): the xcode-27 image is GitHub-hosted, arm64, macOS 27 + Xcode 27.1.
+ DEVELOPER_DIR: /Applications/Xcode_27.1.app/Contents/Developer
defaults:
run:
@@ -29,7 +32,7 @@ defaults:
jobs:
host-tests:
name: Host unit tests and CPU-only gfx tests
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -77,7 +80,7 @@ jobs:
tool-tests:
name: Tool tests
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -143,7 +146,7 @@ jobs:
build:
name: Build check (Mac host, gfx tests, iOS sources)
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 40
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -177,7 +180,7 @@ jobs:
launcher:
name: Mac launcher (frontend, swift test)
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -202,7 +205,7 @@ jobs:
launcher-qt:
name: Qt front end (frontend-qt tests)
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -217,7 +220,7 @@ jobs:
ios-build:
name: Unsigned iOS app (synthetic modules, Swift and link)
- runs-on: macos-26
+ runs-on: xcode-27
timeout-minutes: 40
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
diff --git a/README.md b/README.md
index 06b72ce5..97c7eef4 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ follows upstream automatically. What it adds:
3. **Pick your game files** — base game, update, DLC and `prod.keys`, separately or as one folder.
4. **Press build**, then follow the three install steps it prints.
-> Requirements: an Apple Silicon Mac on macOS 13+, Xcode with the iOS SDK, Python 3.9+, .NET SDK 10.
+> Requirements: an Apple Silicon Mac on macOS 26.6+, [Xcode](https://apps.apple.com/app/xcode/id497799835) 27.1 with the iOS SDK, Python 3.9+, .NET SDK 10.
> The app's dependency panel detects each of these and installs what it can. Your own game files and
> `prod.keys` — nothing is bundled.
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 081a11f3..7d921d93 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -98,7 +98,7 @@ NVN-on-Metal、各游戏的 profile 都是上游的工作,本 fork 自动跟
3. **选好游戏文件** —— 本体、更新包、DLC 和 `prod.keys`,分开选或一个文件夹全选。
4. **按构建**,然后照它给出的三步装到手机。
-> 环境要求:Apple Silicon Mac + macOS 13+、装了 iOS SDK 的 Xcode、Python 3.9+、.NET SDK 10。
+> 环境要求:Apple Silicon Mac + macOS 26.6+、装了 iOS SDK 的 [Xcode](https://apps.apple.com/app/xcode/id497799835) 27.1、Python 3.9+、.NET SDK 10。
> App 的依赖面板会逐项检测,能装的直接装。游戏文件和 `prod.keys` 需要你自己的——本仓库不含任何数据。
---