Partially downloaded/damaged Xcode archives aren't checked before moved to download location
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
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:
- Run
xcodes download --latest-prerelease - 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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from XcodesOrg/xcodes
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in XcodesOrg/xcodes
Similar issues
-
Dictated bullet lists keep the recogniser's commas at the end of every line ("- Milk," "- Eggs,")Openarea:dictation bug good first issue P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
uttrflow/uttrflow-swift#1958 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
521xueweihan/HelloGitHub#3788 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
callstackincubator/appduct#129 ·
Maintainers usually reply within 1 day
-
clawsweeper:not-repro-on-main impact:ux-friction issue-rating: 🦪 silver shellfish P2
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
steipete/CodexBar#4040 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mozilla-mobile/firefox-ios#35827 ·
Maintainers usually reply within 1 day