XcodesOrg / XcodesOrg/xcodes

xcodes does not check if runtime is already installed

Open
#483 0 comments 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

Problem

When installing runtimes xcodes will duplicate runtimes which are already installed

Image

Both runtimes installed via xcodes

Steps to reproduce
  • Install a runtime via xcodes
  • install the same runtime again

Error: duplicate runtimes are shown in xcodes
It is unsure which runtime xcode is using.

Notes

There seems no check if a runtime is already installed with the xcdoes runtimes install command
Duplicate downloads does not seem to happen

Environment

xcodes versions 2.0.2

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 with the xcodes runtimes install command and trace how it handles runtimes that are already installed. Reproduce the issue by installing the same runtime twice, then verify that the installed runtime is detected and no duplicate runtime is shown.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.