os/mac/xcode: require Xcode 13.1 on Monterey

This commit is contained in:
Bo Anderson 2021-10-19 16:56:06 +01:00
parent 2734fdbec6
commit 5d670728f1
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

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"