xcode: upgrade for Xcode 10.1 release

The version of CLT package that comes with Xcode 10.1 is 1000.10.44.4,
which could be bumped at a later date since the Software Update is not
reliable at this moment.
This commit is contained in:
Chongyu Zhu 2018-11-05 12:41:51 +08:00
parent c35fd9d955
commit d66c7ef973
No known key found for this signature in database
GPG Key ID: 1A43E3C9100B38F5
2 changed files with 6 additions and 5 deletions

View File

@ -233,6 +233,7 @@ module OS
"9.3" => { clang: "9.1", clang_build: 902 },
"9.4" => { clang: "9.1", clang_build: 902 },
"10.0" => { clang: "10.0", clang_build: 1000 },
"10.1" => { clang: "10.0", clang_build: 1000 },
}.freeze
def compilers_standard?

View File

@ -18,13 +18,13 @@ module OS
when "10.10" then "7.2.1"
when "10.11" then "8.2.1"
when "10.12" then "9.2"
when "10.13" then "10.0"
when "10.14" then "10.0"
when "10.13" then "10.1"
when "10.14" then "10.1"
else
raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease?
# Default to newest known version of Xcode for unreleased macOS versions.
"10.0"
"10.1"
end
end
@ -190,8 +190,8 @@ module OS
when 81 then "8.3"
when 90 then "9.2"
when 91 then "9.4"
when 100 then "10.0"
else "10.0"
when 100 then "10.1"
else "10.1"
end
end