XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.97k stars 303 forks source link

'xcodes runtimes install' fails on Apple Silicon Mac #355

Closed mc7h closed 1 year ago

mc7h commented 1 year ago

Describe the bug

sudo xcodes runtimes install "iOS 15.5" fails.

To Reproduce Run: sudo xcodes runtimes install "iOS 15.5" --keep-archive
or sudo xcodes runtimes install "iOS 15.5"

Observed on my M1 machine; verified by my colleague on theirs.

Works just fine on an Intel machine I had access to.

Expected behavior The simulator runtime should install successfully.

Downloading Runtime iOS 15.5: 100%
Mounting DMG
Installing Runtime
Deleting Archive
Finished

Screenshots

Installing Runtime
Error: Failed executing: `/usr/sbin/installer -pkg 
/Users/mc7h/Library/Caches/com.robotsandpencils.xcodes/com.apple.pkg.iPhoneSimulatorSDK15_5.pkg -target /` (1).

Version

MattKiazyk commented 1 year ago

Hi @mc7h - can you post this issue to the xcodes repo?