XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xcode 15.0.1 install failed with aria2

havebeenfitz opened this issue · 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

is there a workaround for this issue?

Upgrading aria2 to 1.37.0 helped for me.