File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -176,23 +176,23 @@ function get_latest_simulator() {
176176
177177 simulator_name=$( xcrun simctl list devices available -j \
178178 | jq -r --arg os " $os_name " --arg dev " $device_keyword " '
179- .devices |
180- to_entries |
181- map(select(.key | contains($os))) |
182- sort_by(.key) |
183- last |
184- .value |
185- map(select(.name | contains($dev))) |
186- first |
179+ .devices |
180+ to_entries |
181+ map(select(.key | contains($os))) |
182+ sort_by(.key) |
183+ last |
184+ .value |
185+ map(select(.name | contains($dev))) |
186+ first |
187187 .name
188188 ' )
189189
190190 if [[ -z " $simulator_name " ]] || [[ " $simulator_name " == " null" ]]; then
191191 echo " Error: Could not find a simulator for OS '$os_name ' and device '$device_keyword '." >&2
192192 return 1
193193 fi
194-
195- echo " Selected $os_name Simulator: $simulator_name "
194+
195+ echo " $simulator_name "
196196}
197197
198198if [[ " $xcode_major " -lt 16 && " $method " != " cmake" ]]; then
You can’t perform that action at this time.
0 commit comments