XcodesOrg / XcodesOrg/xcodes

Installation breaks without .Trash - Keep XIP File during Install

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

Hi will be great if there is an option to keep the .xip during installation or don't break if the target filesystem has no .Trash.

Reproducing:

  • Have a file storage without .Trash / Recycle.bin
  • Preload XCode xip File to that storage - /some/path/xcodes
  • Install from the download location via --path parameter to a directory like /on/same/storage/xcodes/installed via --directory parameter or ENV variable respectively
  • Installation process breaks during "Moving xip to trash"

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 installation flow around the reported "Moving xip to trash" step, including how --path and --directory or the corresponding environment variable are handled. Confirm behavior on a filesystem without .Trash or Recycle.bin, then make installation either preserve the XIP or complete without failing; the chosen behavior should be covered by the relevant installation checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli
Issue type
Bug
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.