doctor: remove Xcode 7 on 10.10 warning

This commit is contained in:
Misty De Meo 2015-12-04 22:49:05 -08:00
parent 5ecf3113a8
commit a8476c0dbe

View File

@ -610,19 +610,6 @@ class Checks
end end
end end
# Xcode 7 lacking the 10.10 SDK is forcing sysroot to be declared
# nil on 10.10 & breaking compiles. CLT is workaround.
def check_sdk_path_not_nil_yosemite
if MacOS.version == :yosemite && !MacOS::CLT.installed? && MacOS::Xcode.installed? && MacOS.sdk_path.nil?
<<-EOS.undent
Xcode 7 lacks the 10.10 SDK which can cause some builds to fail.
We recommend installing the Command Line Tools with:
xcode-select --install
to resolve this issue.
EOS
end
end
def check_user_path_1 def check_user_path_1
$seen_prefix_bin = false $seen_prefix_bin = false
$seen_prefix_sbin = false $seen_prefix_sbin = false