Failing the install process of runtimes for M1
Looks like that sudo xcodes runtimes install 'iOS 15.5' is not available for Apple M1 Pro, it prompted
Found existing Runtime that will be used, at /Users/<my.user>/Downloads/com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg.
Mounting DMG
Installing Runtime
Error: Failed executing: `/usr/sbin/installer -pkg /Users/<my.user>/Library/Caches/com.robotsandpencils.xcodes/com.apple.pkg.iPhoneSimulatorSDK15_5.pkg -target /` (1
And trying by hand it answers:
@brahayan-dev try deleting that dmg in /Users/<my.user>/Downloads/com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg and doing a runtime install again?
Nothing, happens the same to launch sudo xcodes runtimes install 'iOS 15.5'
Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)
Downloading Runtime iOS 15.5: 100%
Mounting DMG
Installing Runtime
Error: Failed executing: `/usr/sbin/installer -pkg /Users/<my.user>/Library/Caches/com.robotsandpencils.xcodes/com.apple.pkg.iPhoneSimulatorSDK15_5.pkg -target /` (1).
It downloaded this image again com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg, the same used before.
Did you create a new image for this version?
@brahayan-dev
So Xcodes only supports downloading the platforms from Xcode 14+ because that's when they split out the simulators. Simulator 15.5.
You can try downloading via Xcode inside the platforms manually.
Same issue