Skip to content
Snippets Groups Projects
Commit 348d0eb0 authored by Jack Nagel's avatar Jack Nagel
Browse files

doctor: use Xcode.bundle_path

parent f6d5d812
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ end
def check_xcode_select_path
if not MacOS::CLT.installed? and not File.file? "#{MacOS.active_developer_dir}/usr/bin/xcodebuild"
path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID, MacOS::Xcode::V3_BUNDLE_ID)
path = MacOS::Xcode.bundle_path
path = '/Developer' if path.nil? or not path.directory?
<<-EOS.undent
Your Xcode is configured with an invalid path.
......
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