XcodesOrg / XcodesOrg/xcodes

Enable loose matching when searching for versions

Open
#446 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
4.8k
Forks
182
Avg merge
2d 12h
Merged PRs (30d)
1

Description

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 👍

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the xcodes installed command and the version-matching logic it uses. Verify the behavior with installed versions such as 16.4: 16 should match all 16.x versions, while 16.4 should retain exact matching; add or update the relevant tests if the project provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.