Skip to content

Commit 3078373

Browse files
Fix getting UDID for iOS
Co-authored-by: SrinivasanTarget <srinivasan.sekar1990@gmail.com>
1 parent 6627003 commit 3078373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/appium3_ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
wait_for_boot: true
4242

4343
- run: |
44-
target_sim_id=$(xcrun simctl list devices available | grep "iPhone 16" | cut -d "(" -f2 | cut -d ")" -f1 | head -n 1)
44+
target_sim_id=$(xcrun simctl list devices available | grep -A 10 "iOS 18.5" | grep "iPhone 16" | cut -d "(" -f2 | cut -d ")" -f1 | head -n 1)
4545
echo "Target sim id: $target_sim_id"
4646
echo "udid=$target_sim_id" >> $GITHUB_ENV
4747

0 commit comments

Comments
 (0)