Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing the install process of runtimes for M1 #362

Open
brahayan-dev opened this issue Apr 25, 2024 · 3 comments
Open

Failing the install process of runtimes for M1 #362

brahayan-dev opened this issue Apr 25, 2024 · 3 comments

Comments

@brahayan-dev
Copy link

brahayan-dev commented Apr 25, 2024

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:

image

@brahayan-dev brahayan-dev changed the title Failing install runtimes for M1 Failing the install process of runtimes for M1 Apr 25, 2024
@MattKiazyk
Copy link
Contributor

@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?

@brahayan-dev
Copy link
Author

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?

@MattKiazyk
Copy link
Contributor

@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.

e0JfsLSRh5beF8kebK438eeW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants