Skip to content

Commit

Permalink
Check if Xcode 16.1 exists instead of OS version check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Nov 13, 2024
1 parent 14514e0 commit bfeb90d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

set -euo pipefail

macos_version=$(sw_vers --productVersion)
if [[ "$macos_version" -ge 15 ]]; then
if [ -d "/Applications/Xcode_16.1.app" ]; then
xcode_version="16.1"
iphone_version="16"
else
Expand Down

0 comments on commit bfeb90d

Please sign in to comment.