xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

Xcode 15.0.1 install failed with aria2

Open havebeenfitz opened this issue 2 years ago • 3 comments

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-aria2 options

havebeenfitz avatar Oct 19 '23 08:10 havebeenfitz

is there a workaround for this issue?

venkateshrippling avatar Nov 20 '23 06:11 venkateshrippling

Upgrading aria2 to 1.37.0 helped for me.

beribas avatar Dec 11 '23 09:12 beribas