From 324ea3e4814ce02c76c6e87064084e03141cfb17 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 21 Oct 2014 14:56:32 +0100 Subject: [PATCH] doctor: Xcode 6.1 is in the App Store. --- Library/Homebrew/cmd/doctor.rb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 2701a16950..743cd5a9c3 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -247,19 +247,11 @@ if MacOS.version >= "10.9" def check_xcode_up_to_date if MacOS::Xcode.installed? && MacOS::Xcode.outdated? - s = <<-EOS.undent + <<-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). You can install it from the App Store. - EOS - else - s += "Xcode can be updated from the App Store." - end - s end end