XcodesOrg / XcodesOrg/xcodes

sudo xcodes runtimes install "iOS 15.5"` fails on Apple Silicon

Open
#272 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
4.8k
Forks
182
Avg merge
2d 12h
Merged PRs (30d)
1

Description

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

  • OS: 13.1 (Apple M1 Pro)
  • Xcodes: 1.2.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing sudo xcodes runtimes install "iOS 15.5" on an Apple Silicon Mac, with and without --keep-archive, and inspect the /usr/sbin/installer failure. The issue is done when the iOS 15.5 simulator runtime installs successfully on Apple Silicon as it does on Intel.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.