File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
jobs :
18
18
build :
19
19
name : Build
20
- runs-on : macos-latest
20
+ runs-on : macos-15
21
21
if : ${{ !contains(github.event.head_commit.message, '#build-') || contains(github.event.head_commit.message, '#build-ios') }}
22
22
strategy :
23
23
matrix :
26
26
steps :
27
27
- uses : actions/checkout@v3
28
28
name : Checkout
29
- - name : Select Xcode 15.3
30
- run : sudo xcode-select -s /Applications/Xcode_15.3 .app/Contents/Developer
29
+ - name : Select Xcode 16.2
30
+ run : sudo xcode-select -s /Applications/Xcode_16.2 .app/Contents/Developer
31
31
- name : Install rust version
32
32
run : |
33
33
rustup install ${{ matrix.rust }} --profile minimal
37
37
- name : Configure and start iOS Simulator
38
38
run : |
39
39
set -e
40
- IOSRUNTIME=com.apple.CoreSimulator. SimRuntime.iOS-17-4
41
- IOSDEV=$(xcrun simctl list 2>&1 | grep com.apple.CoreSimulator.SimDeviceType.iPhone | grep -v ' SE ' | tail -n 1 | tr -d '()' | awk '{ print $NF }' )
40
+ IOSRUNTIME=$(xcrun simctl list runtimes | grep SimRuntime.iOS | awk '{ print $NF }' | egrep 'iOS-[0-9]{2}-' | sort | tail -n 1)
41
+ IOSDEV=$(xcrun simctl list 2>&1 | grep com.apple.CoreSimulator.SimDeviceType.iPhone | awk '{ print $NF } ' | tr -d '()' | egrep 'iPhone-[0-9]{2}$' | sort | tail -n 1 )
42
42
DEVID=$(xcrun simctl create iphone-latest $IOSDEV $IOSRUNTIME)
43
43
echo "==== using device $IOSDEV, $IOSRUNTIME ===="
44
44
xcrun simctl boot $DEVID
You can’t perform that action at this time.
0 commit comments