Merge pull request #12262 from Bo98/xcode-13.1

os/mac/xcode: require Xcode 13.1 on Monterey
This commit is contained in:
Bo Anderson 2021-10-21 12:01:25 +01:00 committed by GitHub
commit 1d45d82604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ module OS
def latest_version(macos: MacOS.version) def latest_version(macos: MacOS.version)
latest_stable = "13.0" latest_stable = "13.0"
case macos case macos
when "12" then "13.0" when "12" then "13.1"
when "11" then latest_stable when "11" then latest_stable
when "10.15" then "12.4" when "10.15" then "12.4"
when "10.14" then "11.3.1" when "10.14" then "11.3.1"
@ -47,7 +47,7 @@ module OS
sig { returns(String) } sig { returns(String) }
def minimum_version def minimum_version
case MacOS.version case MacOS.version
when "12" then "13.0" when "12" then "13.1"
when "11" then "12.2" when "11" then "12.2"
when "10.15" then "11.0" when "10.15" then "11.0"
when "10.14" then "10.2" when "10.14" then "10.2"