Skip to content

Commit 2b2928c

Browse files
committed
Specify iOS version for testing
1 parent 7c9450c commit 2b2928c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ xcode_major="${xcode_version/.*/}"
2626

2727
if [[ "$xcode_major" -ge 26 ]]; then
2828
iphone_version="17"
29+
ios_version: "26"
2930
elif [[ "$xcode_major" -ge 16 ]]; then
3031
iphone_version="16"
32+
ios_version: "18"
3133
else
3234
echo "Unsupported Xcode version $xcode_version; exiting." 1>&2
3335
exit 1
@@ -39,7 +41,7 @@ if [[ -z "${SPM:-}" ]]; then
3941
echo "Defaulting to SPM=$SPM"
4042
fi
4143
if [[ -z "${OS:-}" ]]; then
42-
OS=iOS
44+
OS="iOS ${ios_version}"
4345
DEVICE="iPhone ${iphone_version}"
4446
echo "Defaulting to OS=$OS"
4547
echo "Defaulting to DEVICE=$DEVICE"

0 commit comments

Comments
 (0)