@@ -34,14 +34,14 @@ runs:
3434 run : |
3535 INPUT_PLATFORM=${{ inputs.platform }}
3636 case $INPUT_PLATFORM in
37- iOS|tvOS|watchOS|macOS) ;;
37+ iOS|tvOS|watchOS|macOS|visionOS ) ;;
3838 *) echo "Unsupported platform: $INPUT_PLATFORM"; exit 1 ;;
3939 esac
4040 shell : bash
4141
4242 - id : get-xcode-version
4343 run : |
44- LATEST_XCODE_VERSION=15.3 .0
44+ LATEST_XCODE_VERSION=16.0 .0
4545 MINIMUM_XCODE_VERSION=15.0.1
4646
4747 INPUT_XCODE_VERSION=${{ inputs.xcode_version }}
@@ -66,35 +66,44 @@ runs:
6666
6767 case $INPUT_PLATFORM/$INPUT_XCODE_VERSION in
6868 iOS/latest)
69- DEVICE="iPhone 15 "
70- OS_VERSION="17.4 "
69+ DEVICE="iPhone 16 "
70+ OS_VERSION="18.0 "
7171 ;;
7272 iOS/*)
7373 DEVICE="iPhone 14"
7474 OS_VERSION="17.0.1"
7575 ;;
7676 tvOS/latest)
7777 DEVICE="Apple TV 4K (3rd generation)"
78- OS_VERSION="17.4 "
78+ OS_VERSION="18.0 "
7979 ;;
8080 tvOS/*)
8181 DEVICE="Apple TV 4K (3rd generation)"
8282 OS_VERSION="17.0"
8383 ;;
8484 watchOS/latest)
85- DEVICE="Apple Watch Series 9 (45mm )"
86- OS_VERSION="10.4 "
85+ DEVICE="Apple Watch Series 10 (46mm )"
86+ OS_VERSION="11.0 "
8787 ;;
8888 watchOS/*)
8989 DEVICE="Apple Watch Series 8 (45mm)"
9090 OS_VERSION="10.0"
9191 ;;
92+ visionOS/latest)
93+ DEVICE="Apple Vision Pro"
94+ OS_VERSION="2.0"
95+ ;;
96+ visionOS/*)
97+ DEVICE="Apple Vision Pro"
98+ OS_VERSION="1.0"
99+ ;;
92100 esac
93101
94102 DESTINATION_MAPPING="{
95103 \"iOS\": \"platform=iOS Simulator,name=$DEVICE,OS=$OS_VERSION\",
96104 \"tvOS\": \"platform=tvOS Simulator,name=$DEVICE,OS=$OS_VERSION\",
97105 \"watchOS\": \"platform=watchOS Simulator,name=$DEVICE,OS=$OS_VERSION\",
106+ \"visionOS\": \"platform=visionOS Simulator,name=$DEVICE,OS=$OS_VERSION\",
98107 \"macOS\": \"platform=macOS,arch=arm64\"
99108 }"
100109
@@ -119,8 +128,8 @@ runs:
119128 "iOS": "iphonesimulator",
120129 "tvOS": "appletvsimulator",
121130 "watchOS": "watchsimulator",
131+ "visionOS": "xrsimulator",
122132 "macOS": "macosx"
123133 }'
124134 echo "sdk=$(echo $SDK_MAPPING | jq -r .$INPUT_PLATFORM)" >> $GITHUB_OUTPUT
125- shell : bash
126-
135+ shell : bash
0 commit comments