You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install is failing when using brew install xcodesorg/made/xcodes #453
We use xcodes in automation and have been using brew to install xcodes as part of those pipelines. We noticed today that it was failing during some test runs but it did work a little over a week ago.
brew install xcodesorg/made/xcodes FAILS see below
brew install xcodes WORKS
Did something change?
Using the recommended way from this github site results in:
brew install xcodesorg/made/xcodes ==> Auto-updating Homebrew... Adjust how often this is run with $HOMEBREW_AUTO_UPDATE_SECSor disable with$HOMEBREW_NO_AUTO_UPDATE=1. Hide these hints with $HOMEBREW_NO_ENV_HINTS=1(seeman brew`).
==> Tapping xcodesorg/made
Cloning into '/opt/homebrew/Library/Taps/xcodesorg/homebrew-made'...
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (21/21), done.
Receiving objects: 100% (28/28), 7.13 KiB | 3.56 MiB/s, done.
Resolving deltas: 100% (5/5), done.
remote: Total 28 (delta 5), reused 4 (delta 0), pack-reused 0 (from 0)
Tapped 1 formula (15 files, 14.7KB).
==> Fetching downloads for: xcodes
✔︎ Formula xcodes (1.6.2)
==> Installing xcodes from xcodesorg/made
==> make install prefix=/opt/homebrew/Cellar/xcodes/1.6.2
Last 15 lines from /Users/daniel.leeds/Library/Logs/Homebrew/xcodes/01.make.log:
2025-11-12 21:27:44 +0000
make
install
prefix=/opt/homebrew/Cellar/xcodes/1.6.2
error: xcbuild executable at '/Library/Developer/SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild' does not exist or is not executable
make: *** [xcodes] Error 1`
Reacted by Ash, magneticrob, Jason Hagglund, aaronclarke, Stephen Hodgson, Eliah Snakin, Peter Goldsmith - ANZ, abenezer-amanuel, Mike Akers, Thomas Fuzesi and 11 more
Adding a followup, just retried this morning seeing same behavior. Only works when using single name xcodes but I see I forgot to add that output to the original so its below
brew install xcodes
==> Fetching downloads for: xcodes
✔︎ Bottle Manifest xcodes (1.6.2) [Downloaded 7.3KB/ 7.3KB]
✔︎ Bottle xcodes (1.6.2) [Downloaded 2.1MB/ 2.1MB]
==> Pouring xcodes--1.6.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xcodes/1.6.2: 9 files, 7.3MB
==> Running `brew cleanup xcodes`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Caveats
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
Seeing the same. However, since I was migrating from App Store Xcode the brew install xcodes worked fine as well. After running xcodes install 26.1.1 I did have to also run sudo xcode-select -s /Applications/Xcode-26.1.1.app/Contents/Developer or else I was unable to run xcodes runtimes.
Seeing the same. However, since I was migrating from App Store Xcode the brew install xcodes worked fine as well. After running xcodes install 26.1.1 I did have to also run sudo xcode-select -s /Applications/Xcode-26.1.1.app/Contents/Developer or else I was unable to run xcodes runtimes.
We use it in automation as a one liner to do it all or did you have to do that even after that?
Ideally xcodesorg/made/xcodes should insalled a precompiled binary from the release and don't try to build it.
The xcodesorg/made/xcodes formulae doesn't reference any of the newer OS versions, and so will lead to building from source. Where as the already mentioned xcodes formula matches recent OS versions and will fetch the pre-built binary.
Building from source now fails as it appears recent version of command line tools has moved xcbuild to /Library/Developer/CommandLineTools/usr/lib/swift/pm/SwiftBuild.framework/Versions/A/Support/xcbuild which is just a symlink to swbuild
I want my xcodes install to work
brew install xcodes instead of brew install xcodesorg/made/xcodes
How do we fix when building from source?
Need to cater for the new location of xcbuild (swbuild)
Reacted by Luiz Guilherme Pelegrini and Matt Rubin
@petergoldsmith-anzx thanks for the update so it appears the supported method is to just use the xcodes formulae then assuming this is the official method and will be updated on the github pointer/docs?
brew install xcodes instead of brew install xcodesorg/made/xcodes
@petergoldsmith-anzxdoesn't this just install the graphical app? Do you have the CLI tool available after installing this? I can't seem to find it.
Sorry, I was confused with brew install --cask xcodes which uses the same name. brew install xcodes properly installs the CLI tool seemingly using a precompiled binary. Anyway the documentation seems to be misleading, as you can read the following in the main README:
Homebrew (Preferred)
brew install xcodesorg/made/xcodes
These are Developer ID-signed and notarized release builds and don't require Xcode to already be installed in order to use.
@jgongo that is the confusing part and why I opened the issue. the documented way you listed suddenly stopped working but is still on the main page and shifted over to just brew install xcodes
were using this now but still a bit confused as to the change in formula name.
This problem is still present, to get around the issue I ended up writing code to download the latest stable release then extract it. Thankfully it's universal so theres no need for recompilation.
Activity
fkorotkov commentedon Nov 13, 2025
Having the same issue. Ideally
xcodesorg/made/xcodesshould insalled a precompiled binary from the release and don't try to build it.ashdns commentedon Nov 13, 2025
Had to download from https://github.com/XcodesOrg/xcodes/releases/download/1.6.2/xcodes.zip instead as a workaround.
nikans commentedon Nov 14, 2025
same, mint installation fails, too.
aofldl commentedon Nov 14, 2025
Adding a followup, just retried this morning seeing same behavior. Only works when using single name xcodes but I see I forgot to add that output to the original so its below
bradhowes commentedon Nov 15, 2025
Seeing the same. However, since I was migrating from App Store Xcode the
brew install xcodesworked fine as well. After runningxcodes install 26.1.1I did have to also runsudo xcode-select -s /Applications/Xcode-26.1.1.app/Contents/Developeror else I was unable to runxcodes runtimes.aofldl commentedon Nov 15, 2025
We use it in automation as a one liner to do it all or did you have to do that even after that?
Our command looks like: xcodes install 26.1.1 --experimental-unxip --select --empty-trash && xcodebuild -downloadAllPlatforms && xcodebuild -runFirstLaunch
bradhowes commentedon Nov 16, 2025
@aofldl No, I did not have all of those options. Thanks for your one-liner. I'll give that a shot next time.
petergoldsmith-anzx commentedon Nov 17, 2025
I'm trying to understand what changed that lead to this to start failing. I can't see that the formula changed, or xcodes changed.
petergoldsmith-anzx commentedon Nov 18, 2025
The xcodesorg/made/xcodes formulae doesn't reference any of the newer OS versions, and so will lead to building from source. Where as the already mentioned
xcodesformula matches recent OS versions and will fetch the pre-built binary.Building from source now fails as it appears recent version of command line tools has moved xcbuild to
/Library/Developer/CommandLineTools/usr/lib/swift/pm/SwiftBuild.framework/Versions/A/Support/xcbuildwhich is just a symlink toswbuildI want my xcodes install to work
brew install xcodesinstead ofbrew install xcodesorg/made/xcodesHow do we fix when building from source?
Need to cater for the new location of
xcbuild(swbuild)aofldl commentedon Nov 18, 2025
@petergoldsmith-anzx thanks for the update so it appears the supported method is to just use the xcodes formulae then assuming this is the official method and will be updated on the github pointer/docs?
petergoldsmith-anzx commentedon Nov 18, 2025
Thats one for @MattKiazyk to answer
jgongo commentedon Nov 26, 2025
@petergoldsmith-anzx
doesn't this just install the graphical app? Do you have the CLI tool available after installing this? I can't seem to find it.Sorry, I was confused with
brew install --cask xcodeswhich uses the same name.brew install xcodesproperly installs the CLI tool seemingly using a precompiled binary. Anyway the documentation seems to be misleading, as you can read the following in the mainREADME:aofldl commentedon Nov 26, 2025
@jgongo that is the confusing part and why I opened the issue. the documented way you listed suddenly stopped working but is still on the main page and shifted over to just brew install xcodes
were using this now but still a bit confused as to the change in formula name.
DevliegereM commentedon Dec 17, 2025
Is there any update regarding this? I would like to work with the tapped version instead of the version in brew.
Fix xcodes installation by using homebrew-core formula
Static-Codes commentedon Aug 6, 2026
This problem is still present, to get around the issue I ended up writing code to download the latest stable release then extract it. Thankfully it's universal so theres no need for recompilation.
danyreyna commentedon Aug 21, 2026
I found this issue today. Could install xcodes with brew following these steps: yonaskolb/SwagGen#311 (comment)