From de622904b9ba452c2b369232ce9d8796f152c2b7 Mon Sep 17 00:00:00 2001 From: jackpooleyml <186731786+jackpooleyml@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:14:56 +0100 Subject: [PATCH] chore(fix swift ci): get list of available simulators --- .github/workflows/ci-swift.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-swift.yml b/.github/workflows/ci-swift.yml index 693093c..72b8024 100644 --- a/.github/workflows/ci-swift.yml +++ b/.github/workflows/ci-swift.yml @@ -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