os/Mac/diagnostic: include Xcode path and version.

This commit is contained in:
Mike McQuaid 2024-03-08 08:24:45 +00:00 committed by GitHub
parent 05acfaba33
commit de73522b5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,7 @@ module Homebrew
xcode += " => #{MacOS::Xcode.prefix}" unless MacOS::Xcode.default_prefix?
<<~EOS
Your Xcode (#{MacOS::Xcode.bundle_path}) is too outdated.
Your Xcode (#{xcode}) at #{MacOS::Xcode.bundle_path} is too outdated.
Please update to Xcode #{MacOS::Xcode.latest_version} (or delete it).
#{MacOS::Xcode.update_instructions}
EOS