@@ -51,107 +51,102 @@ jobs:
5151 runtime : iOS 15.5
5252 os : macos-15
5353 xcode : 26.0
54- install : true
5554 - platform : [iOS, 16]
5655 runtime : iOS 16.4
5756 os : macos-15
5857 xcode : 26.0
59- install : true
6058 - platform : [iOS, 17]
6159 runtime : iOS 17.5
6260 os : macos-15
6361 xcode : 26.0
64- install : true
6562 - platform : [iOS, 18]
6663 runtime : iOS 18.6
6764 os : macos-15
6865 xcode : 26.0
69- install : false
70- # - platform: [iOS, 26]
71- # runtime: iOS 26.0
72- # os: macos-15
73- # xcode: 26.0
66+ - platform : [iOS, 26]
67+ runtime : iOS 26.0
68+ os : macos-15
69+ xcode : 26.0
7470
7571 - platform : [tvOS, 15]
7672 runtime : tvOS 15.4
7773 os : macos-15
7874 xcode : 26.0
79- install : true
8075 - platform : [tvOS, 16]
8176 runtime : tvOS 16.4
8277 os : macos-15
8378 xcode : 26.0
84- install : true
8579 - platform : [tvOS, 17]
8680 runtime : tvOS 17.5
8781 os : macos-15
8882 xcode : 26.0
89- install : true
9083 - platform : [tvOS, 18]
9184 runtime : tvOS 18.5
9285 os : macos-15
9386 xcode : 26.0
94- install : false
95- # - platform: [tvOS, 26]
96- # runtime: tvOS 26.0
97- # os: macos-15
98- # xcode: 26.0
87+ - platform : [tvOS, 26]
88+ runtime : tvOS 26.0
89+ os : macos-15
90+ xcode : 26.0
9991
10092 - platform : [watchOS, 8]
10193 runtime : watchOS 8.5
10294 os : macos-15
10395 xcode : 26.0
104- install : true
10596 - platform : [watchOS, 9]
10697 runtime : watchOS 9.4
10798 os : macos-15
10899 xcode : 26.0
109- install : true
110100 - platform : [watchOS, 10]
111101 runtime : watchOS 10.5
112102 os : macos-15
113103 xcode : 26.0
114- install : true
115104 - platform : [watchOS, 11]
116105 runtime : watchOS 11.5
117106 os : macos-15
118107 xcode : 26.0
119- install : false
120- # - platform: [watchOS, 26]
121- # runtime: watchOS 26.0
122- # os: macos-15
123- # xcode: 26.0
108+ - platform : [watchOS, 26]
109+ runtime : watchOS 26.0
110+ os : macos-15
111+ xcode : 26.0
124112
125113 - platform : [macOS, 15]
126114 runtime : macOS 15
127115 os : macos-15
128116 xcode : 26.0
129117 # - platform: [macOS, 26]
130118 # runtime: macOS 26.0
131- # os: macos-15
119+ # os: macos-26
132120 # xcode: 26.0
133121
134122 - platform : [visionOS, 1]
135123 runtime : visionOS 1.2
136124 os : macos-15
137125 xcode : 26.0
138- install : true
139126 - platform : [visionOS, 2]
140127 runtime : visionOS 2.5
141128 os : macos-15
142129 xcode : 26.0
143- install : false
144- # - platform: [visionOS, 26]
145- # runtime: visionOS 26.0
146- # os: macos-15
147- # xcode: 26.0
130+ - platform : [visionOS, 26]
131+ runtime : visionOS 26.0
132+ os : macos-15
133+ xcode : 26.0
148134 steps :
149135 - name : Git Checkout
150136 uses : actions/checkout@v4
151137
152138 - name : Set environment variables
153139 run : echo "SKIP_SLOW_FASTLANE_WARNING=1" >> $GITHUB_ENV
154140
141+ - if : ${{ matrix.platform[0] != 'macOS' }}
142+ name : Check for ${{ matrix.runtime }} runtime
143+ run : |
144+ if xcrun simctl list runtimes | grep -q "${{ matrix.runtime }}"; then
145+ echo "has_runtime=true" >> "$GITHUB_ENV"
146+ else
147+ echo "has_runtime=false" >> "$GITHUB_ENV"
148+ fi
149+
155150 - name : Select Xcode ${{ matrix.xcode }}
156151 run : sudo xcodes select ${{ matrix.xcode }}
157152
@@ -163,11 +158,11 @@ jobs:
163158 max_attempts : 3
164159 command : xcodebuild -downloadPlatform ${{ matrix.platform[0] }}
165160
166- - if : ${{ matrix.install }}
161+ - if : env.has_runtime == 'false'
167162 name : " [Debug] List Available Installable Runtimes"
168163 run : xcodes runtimes --include-betas
169164
170- - if : ${{ matrix.install }}
165+ - if : env.has_runtime == 'false'
171166 name : Install Required Runtime (${{ matrix.runtime }})
172167 uses : nick-fields/retry@v3
173168 with :
0 commit comments