From d66c7ef9732bc87e3663b0902e927cf95ba832a2 Mon Sep 17 00:00:00 2001 From: Chongyu Zhu Date: Mon, 5 Nov 2018 12:41:51 +0800 Subject: [PATCH] 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. --- Library/Homebrew/os/mac.rb | 1 + Library/Homebrew/os/mac/xcode.rb | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 52ca596cd7..20be51fcee 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -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? diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 96ee385140..b479da3745 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -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