Skip to content
Snippets Groups Projects
Commit 03293077 authored by Misty De Meo's avatar Misty De Meo
Browse files

doctor: Add check for stray pre-4.3 Xcode files

/Developer/Library shouldn't exist if all the remnants of old
Xcode versions have been uninstalled, and tends to cause problems if
it's kept alongside modern Xcode.

"uninstall-developer-folder" should only remove /Developer/Library.
parent 5ce86417
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,16 @@ def check_for_latest_xcode
end
end
def check_for_stray_developer_directory
if MacOS::Xcode.version >= "4.3" and File.exist? "/Developer/Library"
return <<-EOS.undent
You have leftover files from an older version of Xcode.
You should delete them using:
/Developer/Library/uninstall-developer-folder
EOS
end
end
def check_cc
unless MacOS::CLT.installed?
if MacOS::Xcode.version >= "4.3"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment