Specify current Xcode to aid issue-diagnosis

I saw a ticket with just doctor output and no `brew --config`. This helps.
This commit is contained in:
Max Howell 2012-03-02 01:06:16 +00:00
parent 7cedf67680
commit 9772e08033

View File

@ -208,7 +208,7 @@ def check_for_latest_xcode
else "4.3"
end
if MacOS.xcode_version < latest_xcode then <<-EOS.undent
Your Xcode version is outdated
You have Xcode-#{MacOS.xcode_version}, which is outdated.
Please install Xcode #{latest_xcode}.
EOS
end