ci: Use latest Xcode that the minimum macOS version allows
What changed, and why it matters
This commit updates the Bitcoin Core continuous integration (CI) configuration to use a newer version of Apple's Xcode development tools (16.2 instead of 16.0) when building and testing on macOS. It is a routine infrastructure/maintenance change with no apparent security relevance.
No security action required. Treat as a normal CI maintenance update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies .github/workflows/ci.yml, switching the GitHub Actions macOS runner’s active Xcode from /Applications/Xcode_16.0.app to /Applications/Xcode_16.2.app and updating the explanatory comment and Apple documentation link accordingly. The stated goal is to use the latest Xcode supported by the minimum supported macOS version while still meeting the minimum Clang version requirement. This affects only CI build/test tooling, not the Bitcoin Core source code, consensus logic, networking, wallet, or any runtime behavior.
Changed components
.github/workflows/ci.ymlGitHub Actions CI macOS jobXcode toolchain selectionInspect captured patch +3 / −3
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 880cc90c..444633c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -155,11 +155,11 @@ jobs:
- name: Clang version
run: |
- # Use the earliest Xcode supported by the version of macOS denoted in
+ # Use the latest Xcode supported by the version of macOS denoted in
# doc/release-notes-empty-template.md and providing at least the
# minimum clang version denoted in doc/dependencies.md.
- # See: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
- sudo xcode-select --switch /Applications/Xcode_16.0.app
+ # See: https://developer.apple.com/documentation/xcode-release-notes/xcode-16_2-release-notes
+ sudo xcode-select --switch /Applications/Xcode_16.2.app
clang --version
- name: Install Homebrew packages
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.