From ad695f01aec08824233e24a54a1cc61bb2b446ae Mon Sep 17 00:00:00 2001 From: ares Date: Sat, 12 Sep 2026 15:57:29 +0300 Subject: [PATCH] Boot and install the app before capturing the simulator screen --- .github/workflows/ios.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index ee572a3..db96faa 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -70,6 +70,8 @@ jobs: run: ditto -c -k --sequesterRsrc --keepParent DerivedData/Build/Products/Debug-iphonesimulator/MusicBridge.app build/MusicBridge-simulator.zip - name: Capture pairing screen run: | + xcrun simctl bootstatus "$SIMULATOR_ID" -b + xcrun simctl install "$SIMULATOR_ID" DerivedData/Build/Products/Debug-iphonesimulator/MusicBridge.app xcrun simctl launch "$SIMULATOR_ID" ru.yukinoki.musicbridge sleep 3 xcrun simctl io "$SIMULATOR_ID" screenshot build/pairing-screen.png