Skip to content

Commit 5b93d01

Browse files
charlagjuni2k
authored andcommitted
[ci] Select latest Xcode version for Github workflows
We need to either explicitly download simulator (slow) or we need to make sure that fastlane finds the simulator that works with Xcode that we are actually going to use
1 parent 691628b commit 5b93d01

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/shared/swift-common/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ runs:
99
uses: swift-actions/setup-swift@cdbe0f7f4c77929b6580e71983e8606e55ffe7e4 # v1.26.2
1010
with:
1111
swift-version: ${{ env.swift-version }}
12+
- name: Setup Xcode
13+
uses: maxim-lobanov/setup-xcode@7f352e61cbe8130c957c3bc898c4fb025784ea1e
14+
with:
15+
xcode-version: latest-stable
16+
- name: List simulators
17+
shell: bash
18+
run: |
19+
xcrun simctl list
20+
xcodebuild -showsdks
1221
- name: Install Homebrew
1322
uses: Homebrew/actions/setup-homebrew@d54a6744d5fcdff54b45a9659f3e17f769389952
1423
- name: Install Homebrew dependencies

0 commit comments

Comments
 (0)