Azure / Azure/homebrew-functions

[BUG] Cannot update "your xcode is too outdated" ... but show a more recent version

Open
#203 3 comments 0 reactions 0 assignees View on GitHub
needs-investigation
Dominant language
Ruby
Stars
16
Forks
30
Avg merge
56m
Merged PRs (30d)
1

Description

I'm running MacOs 27 Beta 2
XCode 26.6 was on it before, it still is but doesn't run
I also downloaded XCode 27 which runs as standalone

I'm not running:
```sh
➜ dev brew update; brew upgrade; brew upgrade --cask $(brew list --cask); brew autoremove;brew cleanup
```
and among everything installed, only the Azure package seems to be problematic
`microsoft-azure-storage-explorer`, `azure/azd/azd` and `azure/functions/azure-functions-core-tools@4`

example of things that went well: `dotnet sdk / firefox / mongo compass / signal / bruno / discord / zed / git-credential-manager / slack / NDI tools / ruby / node / ...`

`microsoft-azure-storage-explorer` and `azd` seems to have fixed the issue like 2 weeks ago IIRC
(what's weird is that it's very specific to `brew formulae / cask` and `azure`, not any other vendor)

here's what attempting to update `azure/functions/azure-functions-core-tools@4` do:
```sh
➜ dev brew update; brew upgrade; brew upgrade --cask $(brew list --cask); brew autoremove;brew cleanup
==> Updating Homebrew...
Already up-to-date.
Warning: You are using macOS 27.
We do not provide support for this pre-release version.

This is a Tier 2 configuration:
https://docs.brew.sh/Support-Tiers#tier-2
You can report issues with Tier 2 configurations to Homebrew/* repositories!
Read the above document before opening any issues or PRs.

==> Would upgrade 1 outdated package
azure/functions/azure-functions-core-tools@4 4.12.0 -> 4.12.1
==> Do you want to proceed with the upgrade? [y/n]
==> Upgrading 1 outdated package:
azure/functions/azure-functions-core-tools@4 4.12.0 -> 4.12.1
==> Fetching downloads for: azure-functions-core-tools@4
✔︎ Formula azure-functions-core-tools@4 (4.12.1) Verified 601.3MB/601.3MB
==> Upgrading azure/functions/azure-functions-core-tools@4
4.12.0 -> 4.12.1
Error: Your Xcode (26.6) at /Applications/Xcode.app is too outdated.
Please update to Xcode 27.0 (or delete it).
Xcode can be updated from:
https://developer.apple.com/download/all/
```

I have the feeling this check is not done properly or should not be done.
I don't understand exactly why xcode itself should be required and not some other tools.

Given that AZD fixed it i'm guessing there's an opportunity to fix `azure-functions-core-tools@4` as well

if there's anything i can run to help, let me know

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the upgrade of azure/functions/azure-functions-core-tools@4 from 4.12.0 to 4.12.1 with the reported brew command on macOS 27. Trace why the upgrade reports Xcode 26.6 as outdated, then verify that the formula upgrades successfully without an inappropriate Xcode requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, ruby
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.