Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
Launcher test: wait until the build has finished, not only until the library lists the app
v0lumehi5cde35e1cb5a
diff --git a/frontend/Tests/NSPortBuilderTests/LibraryTests.swift b/frontend/Tests/NSPortBuilderTests/LibraryTests.swiftindex bc7bfddc..54a535c5 100644--- a/frontend/Tests/NSPortBuilderTests/LibraryTests.swift+++ b/frontend/Tests/NSPortBuilderTests/LibraryTests.swift@@ -361,6 +361,9 @@ final class LibraryTests: XCTestCase {model.startBuild()wait(for: [completed], timeout: 10)withExtendedLifetime(token) {}+ // The library can list the app before the model has taken in the script's exit (a slower Mac, CI): wait for both+ let settled = XCTNSPredicateExpectation(predicate: NSPredicate { _, _ in model.done && !model.running }, object: nil)+ wait(for: [settled], timeout: 10)XCTAssertTrue(model.done)XCTAssertFalse(model.running)XCTAssertEqual(model.stages.map(\.name), ["Mac app"]) // from the JSON events, which the log shows as text