Boot and install the app before capturing the simulator screen

This commit is contained in:
2026-09-12 15:57:29 +03:00
parent 6afafcf0e2
commit ad695f01ae
+2
View File
@@ -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