os/mac/xcode: bump Catalina Xcode versions.

This commit is contained in:
Mike McQuaid 2019-10-08 09:31:07 +01:00
parent bb2c835025
commit 972b0aa17f
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -17,12 +17,12 @@ module OS
when "10.12" then "9.2" when "10.12" then "9.2"
when "10.13" then "10.1" when "10.13" then "10.1"
when "10.14" then "10.2.1" when "10.14" then "10.2.1"
when "10.15" then "11.0" when "10.15" then "11.1"
else else
raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease? raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease?
# Default to newest known version of Xcode for unreleased macOS versions. # Default to newest known version of Xcode for unreleased macOS versions.
"11.0" "11.1"
end end
end end
@ -177,7 +177,8 @@ module OS
when 91 then "9.4" when 91 then "9.4"
when 100 then "10.2.1" when 100 then "10.2.1"
when 110 then "11.0" when 110 then "11.0"
else "11.0" when 111 then "11.1"
else "11.1"
end end
end end
@ -245,7 +246,7 @@ module OS
# on the older supported platform for that Xcode release, i.e there's no # on the older supported platform for that Xcode release, i.e there's no
# CLT package for 10.11 that contains the Clang version from Xcode 8. # CLT package for 10.11 that contains the Clang version from Xcode 8.
case MacOS.version case MacOS.version
when "10.15" then "1100.0.20.17" when "10.15" then "1100.0.33.8"
when "10.14" then "1001.0.46.4" when "10.14" then "1001.0.46.4"
when "10.13" then "1000.10.44.2" when "10.13" then "1000.10.44.2"
when "10.12" then "900.0.39.2" when "10.12" then "900.0.39.2"