跳到主内容
@wquguru
精选90GitHub Changelog云与平台

CodeQL:macOS 27/Xcode 27 起废弃 traced extraction

CodeQL changes for macOS 27, Xcode 27, and Swift 6.4

原文
发到 X
推荐理由

GitHub Actions 核心安全工具 CodeQL 发生破坏性变更,直接阻断 CI/CD 中的代码扫描流程。请检查并锁定 runner 镜像版本,或迁移至 build mode none 以避免中断。

Starting with macOS 27 and Xcode 27, Apple no longer includes Intel (x86_64) code in some of the system binaries and libraries that CodeQL relies on to trace builds. As a result, CodeQL can’t support traced scans on these versions or analyze Swift 6.4.

从 macOS 27 和 Xcode 27 开始,Apple 不再在 CodeQL 依赖以追踪构建的系统二进制文件和库中包含 Intel (x86_64) 代码。因此,CodeQL 无法支持对这些版本的追踪扫描,也无法分析 Swift 6.4。

What’s affected

受影响的范围

  • Xcode 27: When Xcode 27 is installed, traced extraction isn’t available for C/C++, C#, Go, Java, Kotlin, or Swift.
  • macOS 27: Traced extraction may not be available for the previously mentioned languages.
  • Swift 6.4: CodeQL doesn’t support Swift 6.4 on any platform.
  • Intel-based Macs: CodeQL support for Intel-based Macs will be deprecated in mid-December 2026.
  • Xcode 27:安装 Xcode 27 后,C/C++、C#、Go、Java、Kotlin 或 Swift 的追踪提取功能将不可用。
  • macOS 27:上述语言的追踪提取功能可能不可用。
  • Swift 6.4:CodeQL 不支持任何平台上的 Swift 6.4。
  • 基于 Intel 的 Mac:CodeQL 对基于 Intel 的 Mac 的支持将于 2026 年 12 月中旬弃用。

How to keep your scans running

如何保持扫描正常运行

If you scan Swift or use traced builds for other languages, pin your workflows to macOS 26 or earlier and Xcode 26 or earlier. If you use GitHub Actions, pin the runner image and toolchain in your workflow rather than relying on the latest versions.

如果您扫描 Swift 或使用其他语言的追踪构建,请将工作流固定到 macOS 26 或更早版本以及 Xcode 26 或更早版本。如果使用 GitHub Actions,请在工作流中固定运行器镜像和工具链,而不是依赖最新版本。

For C/C++, C#, and Java, you can switch to build mode none, which doesn’t require tracing a build.

对于 C/C++、C# 和 Java,您可以切换到 build mode none(无构建模式),这不需要追踪构建过程。

Join the discussion within GitHub Community.

加入 GitHub Community 中的讨论。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件