Xcode 15.0.1 install failed with aria2
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Precondition:
- macOS Sonoma 14.0
- aria2 installed (homebrew)
Steps:
- run
xcodes install 15.0.1
Expected:
- Xcode 15.0.1 installed as usual
Actual:
- getting an error:
Downloading with aria2 (/opt/homebrew/bin/aria2c)
XcodesKit/Environment.swift:80: Precondition failed: Aria must be called on the main queue
[1] 10494 trace trap xcodes install 15.0.1 --experimental-unxip
Workarounds:
- remove aria2 with
brew uninstall aria2(if installed with brew) - use
--no-aria2options
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 reproducing xcodes install 15.0.1 with aria2 enabled on macOS Sonoma, then inspect the precondition at XcodesKit/Environment.swift:80 and the aria2 download path. The fix is done when installation no longer triggers “Aria must be called on the main queue” while using aria2; verify the command without relying on the listed workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100