Skip to content

Commit 98f35f8

Browse files
committed
ci: use UDID to set ios simulator
We had a case where the device of a previous run did not get deleted resulting in errors due to duplicate names. This change makes a the test independent of previous runs.
1 parent 836e4e2 commit 98f35f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
8080
# run tests
8181
xcodebuild test -scheme TestHost -configuration Release -sdk iphonesimulator \
82-
-destination 'platform=iOS Simulator,name=iPhone 16 test-ios'
82+
-destination 'id=${{ env.SIMULATOR }}'
8383
- name: Delete simulator
8484
if: always()
8585
run: |

0 commit comments

Comments
 (0)