We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1b7f1 commit d601187Copy full SHA for d601187
.github/workflows/build-and-test.yml
@@ -13,18 +13,15 @@ jobs:
13
with:
14
xcode-version: latest-stable
15
16
- - name: Cleanup Simulators
+ - name: Cleanup and Reset Simulators
17
run: |
18
- xcrun simctl shutdown all
19
- xcrun simctl erase all
20
-
21
- - name: Restart CoreSimulatorService
22
- run: |
23
- launchctl kickstart -k "gui/$(id -u)/com.apple.CoreSimulator.CoreSimulatorService"
+ xcrun simctl shutdown all || true
+ xcrun simctl erase all || true
+ rm -rf ~/Library/Developer/CoreSimulator/Devices
24
25
- name: Boot Required Simulator
26
27
- xcrun simctl boot "iPhone 14 Pro Max" || true
+ xcrun simctl boot "iPhone 14 Pro Max"
28
29
- name: Build and test with parallel testing
30
0 commit comments