aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorMike McQuaid2017-04-02 17:49:12 +0100
committerGitHub2017-04-02 17:49:12 +0100
commit8ea778f7c7ea790694485030d105a92a9416ef33 (patch)
tree83445b4f6298d15355ac254105d65b405cd21b33 /Library/Homebrew/os/mac
parentfabc5bc8930643077a0f510006f1ef46f60d9a2e (diff)
parenta084776f95d6bb94985cc6f74757b40e4e4ba57b (diff)
downloadbrew-1.1.12.tar.bz2
Merge pull request #2412 from EricFromCanada/master1.1.12
Xcode: update supported versions & download URLs for 8.3
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb17
1 files changed, 9 insertions, 8 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index aa4504a17..70fe3c14d 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -16,13 +16,13 @@ module OS
when "10.8" then "5.1.1"
when "10.9" then "6.2"
when "10.10" then "7.2.1"
- when "10.11" then "8.2"
- when "10.12" then "8.2"
+ when "10.11" then "8.2.1"
+ when "10.12" then "8.3"
else
raise "macOS '#{MacOS.version}' is invalid" unless OS::Mac.prerelease?
# Default to newest known version of Xcode for unreleased macOS versions.
- "8.2"
+ "8.3"
end
end
@@ -90,7 +90,7 @@ module OS
else
<<-EOS.undent
Xcode can be updated from
- https://developer.apple.com/xcode/downloads/
+ https://developer.apple.com/download/more/
EOS
end
end
@@ -152,7 +152,8 @@ module OS
when 70 then "7.0"
when 73 then "7.3"
when 80 then "8.0"
- else "8.0"
+ when 81 then "8.3"
+ else "8.3"
end
end
@@ -202,7 +203,7 @@ module OS
elsif MacOS.version == "10.8" || MacOS.version == "10.7"
<<-EOS.undent
The standalone package can be obtained from
- https://developer.apple.com/downloads
+ https://developer.apple.com/download/more/
or it can be installed via Xcode's preferences.
EOS
end
@@ -213,8 +214,8 @@ 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.12" then "800.0.42.1"
- when "10.11" then "703.0.31"
+ when "10.12" then "802.0.38"
+ when "10.11" then "800.0.42.1"
when "10.10" then "700.1.81"
when "10.9" then "600.0.57"
when "10.8" then "503.0.40"