Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/mac: prefer newest Xcode when searching using mdfind #18737

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. os/mac: prefer newest Xcode when searching using mdfind

    We're currently returning the first match for `com.apple.dt.Xcode`,
    which could be any version if a user has multiple installed.
    
    Instead, let's try to find the newest if all our results have an
    `Info.plist` that we can interrogate for the version.
    
    Maybe resolves #18736?
    carlocab committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    09fc836 View commit details
    Browse the repository at this point in the history