Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Partially downloaded/damaged Xcode archives aren't checked before moved to download location

Open
#484 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing xcodes download --latest-prerelease, interrupting or failing the download, and running the command again. Trace the download and existing-archive handling to determine how the damaged Xcode archive is accepted; done means a failed archive is not reused or moved to the download location.

Written by the indexing model from the issue text.

Description

To reproduce:

  1. Run xcodes download --latest-prerelease
  2. Make it fail for some reason. I get:
 Received 403: Unauthorized. This can happen when either:
 1. Apple Developer Terms and Conditions were not accepted at https://developer.apple.com/
 2. Apple ID authorization was revoked for some other reason

Even after I log in.
3. Run the downloaded command again
4. Get:

Updating...
Latest prerelease version available is 27.0 Beta 2

(1/1) Found existing archive at /Users/Admin/Library/Application Support/com.robotsandpencils.xcodes/Xcode-27.0.0-Beta.2+27A5209h.xip.

Xcode 27.0.0-Beta.2 has been downloaded to /Users/Admin/Downloads/Xcode-27.0.0-Beta.2+27A5209h.xip

Which is an invalid archive from the previous failed download.

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

Getting set up

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.

More from XcodesOrg/xcodes

All issues in XcodesOrg/xcodes

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.