Skip to content

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

Ignore the sync task in the repository's didMove closure so Xcode 26.6 compiles it (#387)

v0lumehib3a88963f482
diff --git a/frontend/Sources/NX2Apple/ContentView.swift b/frontend/Sources/NX2Apple/ContentView.swift
index d9dbcc1d..b4ef6df6 100644
--- a/frontend/Sources/NX2Apple/ContentView.swift
+++ b/frontend/Sources/NX2Apple/ContentView.swift
@@ -211,7 +211,7 @@ final class BuildModel: ObservableObject, PythonLocation {
buildRunning: { [unowned self] in running },
isReleaseApp: { [unowned self] in MainActor.assumeIsolated { engineSync.usesEngineStore } },
log: { [unowned self] in append($0) },
- didMove: { [unowned self] in MainActor.assumeIsolated { engineSync.syncEngine() } }) // the pull may have moved the pin or the patches
+ didMove: { [unowned self] in MainActor.assumeIsolated { _ = engineSync.syncEngine() } }) // the pull may have moved the pin or the patches
// The build state that reads the repository (`canBuild`, the setup rows) is still here: a change of the repository
// redraws what observes this model, as it did when the repository's state was published by it. Goes with the build store.
repoChanges = store.objectWillChange.sink { [unowned self] _ in objectWillChange.send() }