codeql
codeql copied to clipboard
Add support for Swift 6.1 / Xcode 16.3 with Autobuild
CodeQL build commands file on swift packages that use toolchain version 6.1
Hi @vsanthanam,
Swift 6.1 is supported from CodeQL 2.21.2 onwards. If you're experiencing any problems with that version or later versions. Please provide further details.
I should have clarified -- what I mean is that it doesn't work with autobuild
I would have expected is for autobuild to use whatever Swift version is described in Package.swift
To use CodeQL, you need to do a manual build, change the runner, and run xcode-select to select the appropriate Swift toolchain
Hi @vsanthanam,
At present autobuild does not try to detect which version of Swift is being used by your project, and it just uses the default version available on your machine. Note that this behavior has not changed. So unfortunately there is no way around running xcode-select.