mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:50:37 +00:00
build: Bump Xcode CLT minimum supported version to 26.3 #36287
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36287
Loading…
Reference in a new issue
No description provided.
Delete branch "2609-clt-bump"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that macOS 14 is EOL (https://en.wikipedia.org/wiki/MacOS_Sonoma), it seems odd to still support native Xcode CLT builds on it.
(macOS Sonoma 14.8.9 received its final security update on 06 Aug 2026: https://support.apple.com/en-us/100100)
This patch will only be released in version 33.x, another 6 months out from now. Also, depends builds (and thus release builds) are unaffected. Affected devs or users are free to build via brew, nix, etc...
This is mostly needed to get an equivalent of llvm-19-ish via CLT, see https://en.wikipedia.org/wiki/Xcode#Toolchain_versions. Specifically, it will allow to use C++20 CTAD and also allow switching the project to C++23.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Concept ACK
Base:
09e22fbbb0caafbd2167657c2a8d409ae435b2ccHead:
fa0df9d336e80d37eab5f08b170a3255f287060cNo verified findings are available from this partial review.
Review coverage was incomplete. The archaeology review had incomplete evidence.
Full review report
Concept ACK.
cc @Sjors (or anyone else who is using xcode)
Requiring a modern version of Xcode for native macOS builds is fine by me. My current version of (full) Xcode is 27.0.
Xcode 26.3 requires macOS 15.6 according to the table you shared, which works on reasonably old devices according to Wikipedia (e.g. a 2018 MacBook Pro).
ACK
fa0df9d336I’ve been building with Xcode 26.6 for several months and am fine with retiring older toolchains.
Could we mention the macOS 15.6+ build requirement mentioned by @Sjors?
Could we also explain why release builds retain macOS 14 support, given the EOL status mentioned in the description?
It might be possible to use an older version of macOS and install llvm via Homebrew.
I didn't want to touch those this time. The changes here are required to bump to clang-19-ish. Bumping release builds is a separate discussion. If there is need to, someone can submit that. However, testing should be done to confirm such a change (ref https://github.com/bitcoin/bitcoin/pull/33489#issuecomment-3350089468).
https://developer.apple.com/documentation/xcode-release-notes/xcode-26_3-release-notes also say "Xcode 26.3 requires a Mac running macOS Sequoia 15.6 or later."
So it seems fine to leave as-is. Also, it seems unrelated.
Thanks for clarifying
A good date to touch the macos-cross release builds could be Q1/Q2 2027, maybe with an SDK bump to the latest point release at that time. But my preference would be to do it when there is a good reason.
ACK
fa0df9d336.Xcode 26.3 still supports Intel-based Macs.