In fact, there are 2 xcode-select files to delete

This commit is contained in:
Max Howell 2012-08-21 11:57:28 -04:00
parent 8a9a1d5b00
commit c5266654ff

View File

@ -384,7 +384,7 @@ def check_xcode_select_path
<<-EOS.undent <<-EOS.undent
Your xcode-select path is set to / Your xcode-select path is set to /
You must unset it or builds will hang: You must unset it or builds will hang:
sudo rm /usr/share/xcode-select/xcode_dir_link sudo rm /usr/share/xcode-select/xcode_dir_*
EOS EOS
elsif not MacOS::CLT.installed? and not File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild" elsif not MacOS::CLT.installed? and not File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild"
path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID) || MacOS.app_with_bundle_id(MacOS::Xcode::V3_BUNDLE_ID) path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID) || MacOS.app_with_bundle_id(MacOS::Xcode::V3_BUNDLE_ID)