Enable loose matching when searching for versions
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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