diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 09a4e7bb285ecfdcb755d980a111c45683ee2edc..082c6e06f9c7cc044dc064d0600f1c62fecaa638 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -269,13 +269,28 @@ if MacOS.version >= "10.9"
     end
   end
 
-  def check_xcode_up_to_date
-    if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
-      <<-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
+  # TODO: remove when 10.11 is released
+  if MacOS.version >= "10.11"
+    def check_xcode_up_to_date
+      if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
+        <<-EOS.undent
+        Your Xcode (#{MacOS::Xcode.version}) is outdated
+        Please update to Xcode #{MacOS::Xcode.latest_version}.
+        Xcode can be updated from
+          https://developer.apple.com/downloads
+        EOS
+        EOS
+      end
+    end
+  else
+    def check_xcode_up_to_date
+      if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
+        <<-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
+      end
     end
   end