XcodesOrg / XcodesOrg/xcodes

Installing Xcode 26.2 on macOS Intel actually installed the Silicon version

Open
#456 6 comments 20 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

I ran this command on an Intel MacBook 2019 with most recent version of macOS (Tahoe 26.2, xcodes 1.6.2):

$ sudo xcodes install 26.2 --directory /opt/xcode/26.2

I was expecting xcodes to get the Universal .xip. Instead, it got the arm64 flavor. Consequently, xcodebuild threw "Bad CPU type in executable". I had to download the correct .xip manually, run xcodes --path=/path/to/manually/downloaded.zip

I read others reporting the opposite: they get the universal .xip on Silicon. Looks like the poles may be reversed, doesn't it?

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 install 26.2 --directory /opt/xcode/26.2 on an Intel Mac and compare the selected Xcode architecture with the behavior reported for Silicon. Use the xcodes --path=/path/to/manually/downloaded.zip entry point as a reference for the expected package, and verify that installation selects a compatible Universal .xip so xcodebuild no longer reports Bad CPU type in executable.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.