Skip to content

Commit

Permalink
chore(fix swift ci): get list of available simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpooleyml committed Dec 11, 2024
1 parent ba5f0e4 commit de62290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: sh platforms/shared/zksync-sso/crates/ffi/build-swift-framework.sh
- name: Select Simulator
run: |
echo "xcrun simctl list devices: $(xcrun simctl list devices)"
# List simulators and find the UDID of the desired one
UDID=$(xcrun simctl list devices | grep -E "iOS 18.1.*iPhone 16 Pro" | grep -v "unavailable" | head -1 | awk -F '[()]' '{print $2}')
if [ -z "$UDID" ]; then
Expand Down

0 comments on commit de62290

Please sign in to comment.