Boot and install the app before capturing the simulator screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user