Skip to content

Swift analysis fails with Xcode 26.0 (works fine with Xcode 16) #3111

Description

@maoyama

When I specify Xcode 26.0 to build in my project, the following error occurs. ( In Xcode 16, it worked well with the same build script.

https://github.com/maoyama/Tempo/actions/runs/17705247368/job/50316169931

Encountered a fatal error while running "/Users/runner/hostedtoolcache/CodeQL/2.23.0/arm64/codeql/codeql database finalize --finalize-dataset --threads=3 --ram=6144 /Users/runner/work/_temp/codeql_databases/swift". Exit code was 32 and last log line was: CodeQL detected code written in Swift but this run didn't build any of it, or CodeQL could not process any of it. Ensure that you have provided manual build steps (see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually) for Swift between the 'init' and 'analyze' Actions, and check the workflow run logs (see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs). For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions