Merge pull request #13037 from Bo98/xcode-13.3

os/mac/xcode: support Xcode 13.3
This commit is contained in:
Bo Anderson 2022-03-24 00:30:02 +00:00 committed by GitHub
commit c31d7a0e5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ module OS
# This may be a beta version for a beta macOS.
sig { params(macos: MacOS::Version).returns(String) }
def latest_version(macos: MacOS.version)
latest_stable = "13.2.1"
latest_stable = "13.3"
case macos
when "12", "11" then latest_stable
when "10.15" then "12.4"
@ -238,7 +238,8 @@ module OS
when "11.0.3" then "11.7"
when "12.0.0" then "12.4"
when "12.0.5" then "12.5.1"
else "13.2.1"
when "13.0.0" then "13.2.1"
else "13.3"
end
end
@ -335,7 +336,7 @@ module OS
sig { returns(String) }
def latest_clang_version
case MacOS.version
when "12", "11" then "1300.0.29.30"
when "12", "11" then "1316.0.21.2"
when "10.15" then "1200.0.32.29"
when "10.14" then "1100.0.33.17"
when "10.13" then "1000.10.44.2"