aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2014-10-19 19:40:37 +0100
committerMike McQuaid2014-10-19 19:40:37 +0100
commitaf323ba35ebb2df276d9b5cb0e2d1da7d9bd4bf5 (patch)
tree53049ba67aef7bf1399e6634de25c7206320fdb0 /Library/Homebrew
parentafa18bf5e2a96657d74b6b1fa6d0321829137d46 (diff)
downloadhomebrew-af323ba35ebb2df276d9b5cb0e2d1da7d9bd4bf5.tar.bz2
doctor: clarify 10.10 Xcode situation.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb18
1 files changed, 16 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 81930d18f..c1a0d20ab 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -246,11 +246,25 @@ if MacOS.version >= "10.9"
end
def check_xcode_up_to_date
- if MacOS::Xcode.installed? && MacOS::Xcode.outdated? then <<-EOS.undent
+ if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
+ s = <<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is outdated
Please update to Xcode #{MacOS::Xcode.latest_version}.
- Xcode can be updated from the App Store.
EOS
+ if MacOS.version == :yosemite && MacOS::Xcode.latest_version == "6.1"
+ s += <<-EOS.undent
+ Xcode 6.1 is required on Yosemite to compile anything (6.0.1 does not include
+ the 10.10 SDK). Apple have not yet uploaded it to the App Store. Instead it must
+ be downloaded from:
+ https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_6.1/xcode_6.1.dmg
+
+ For some software installing the CLT may be enough:
+ xcode-select --install
+ EOS
+ else
+ s += "Xcode can be updated from the App Store."
+ end
+ s
end
end