Skip to content

Commit d601187

Browse files
committed
[MOB-10368] Reorganize some files
1 parent bf1b7f1 commit d601187

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,15 @@ jobs:
1313
with:
1414
xcode-version: latest-stable
1515

16-
- name: Cleanup Simulators
16+
- name: Cleanup and Reset Simulators
1717
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"
18+
xcrun simctl shutdown all || true
19+
xcrun simctl erase all || true
20+
rm -rf ~/Library/Developer/CoreSimulator/Devices
2421
2522
- name: Boot Required Simulator
2623
run: |
27-
xcrun simctl boot "iPhone 14 Pro Max" || true
24+
xcrun simctl boot "iPhone 14 Pro Max"
2825
2926
- name: Build and test with parallel testing
3027
run: |

0 commit comments

Comments
 (0)