XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.58k stars 119 forks source link

Can't list or download runtimes #329

Closed ViktorEvil closed 5 months ago

ViktorEvil commented 5 months ago

Tried using xcodes runtimes to get a list of available runtimes but get this error instead Error: Failed executing: `/usr/bin/xcrun simctl runtime list -j` (72).

I can however download the runtime using sudo xcodes runtimes install "iOS 17.2" but get this error

Downloading with aria2 (/opt/homebrew/bin/aria2c)
Downloading Runtime iOS 17.2: 99%
Installing Runtime
Error: Failed executing: `/usr/bin/xcrun simctl runtime add /Users/allan/Downloads/iOS_17.2_Simulator_Runtime.dmg` (72).

M1 Macbook Pro MacOS 14.2.1 Xcode 15.2

ViktorEvil commented 5 months ago

got it working by running xcode-select -s /Applications/Xcode.app

was a bit hasty with the issue report