doctor: Xcode 6.1 is in the App Store.

This commit is contained in:
Mike McQuaid 2014-10-21 14:56:32 +01:00
parent 5c3c728c47
commit 324ea3e481

View File

@ -247,19 +247,11 @@ if MacOS.version >= "10.9"
def check_xcode_up_to_date def check_xcode_up_to_date
if MacOS::Xcode.installed? && MacOS::Xcode.outdated? if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
s = <<-EOS.undent <<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is outdated Your Xcode (#{MacOS::Xcode.version}) is outdated
Please update to Xcode #{MacOS::Xcode.latest_version}. Please update to Xcode #{MacOS::Xcode.latest_version}.
Xcode can be updated from the App Store.
EOS 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
end end