Skip to content

Commit bfeb90d

Browse files
committed
Check if Xcode 16.1 exists instead of OS version check
1 parent 14514e0 commit bfeb90d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121
set -euo pipefail
2222

23-
macos_version=$(sw_vers --productVersion)
24-
if [[ "$macos_version" -ge 15 ]]; then
23+
if [ -d "/Applications/Xcode_16.1.app" ]; then
2524
xcode_version="16.1"
2625
iphone_version="16"
2726
else

0 commit comments

Comments
 (0)