Skip to content

Enable loose matching when searching for versions #446

Open

Description

@stherold

Current

Precondition: Having Xcode 16.4 installed

Running xcodes installed 16 returns with error 16.0 is not installed. 🙁

Expectation

Running xcodes installed 16 should ignore the minor and patch versions and find all Xcode versions with 16.x

When I specifically want to check for 16.4 I can run xcodes installed 16.4...

A parameter strict which we can set to false would be awesome OR even better, loose matching becomes the new default, like e.g. for semver matching (upToNextMajor / upToNextMinor) in SPM 👍

Activity

  1. carlosefonseca commented on Sep 30, 2025

    @carlosefonseca

    +1. Usually the Xcode versions are only Major.Minor but currently there's Xcode 26.0.1 which breaks the pattern. Our validation scripts that use xcodes to get the Xcode path fail since xcodes installed 26.0 is not returning the path to the installed 26.0.1 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions