diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 5f35f45bc5..ad51e33fc3 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -17,12 +17,12 @@ module OS when "10.12" then "9.2" when "10.13" then "10.1" when "10.14" then "10.2.1" - when "10.15" then "11.0" + when "10.15" then "11.1" else raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease? # Default to newest known version of Xcode for unreleased macOS versions. - "11.0" + "11.1" end end @@ -177,7 +177,8 @@ module OS when 91 then "9.4" when 100 then "10.2.1" when 110 then "11.0" - else "11.0" + when 111 then "11.1" + else "11.1" end end @@ -245,7 +246,7 @@ module OS # 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. 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.13" then "1000.10.44.2" when "10.12" then "900.0.39.2"