Skip to content

Add support for Swift 6.1 / Xcode 16.3 with Autobuild #19522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vsanthanam opened this issue May 19, 2025 · 3 comments
Open

Add support for Swift 6.1 / Xcode 16.3 with Autobuild #19522

vsanthanam opened this issue May 19, 2025 · 3 comments
Labels
question Further information is requested

Comments

@vsanthanam
Copy link

CodeQL build commands file on swift packages that use toolchain version 6.1

@vsanthanam vsanthanam added the question Further information is requested label May 19, 2025
@jketema
Copy link
Contributor

jketema commented May 19, 2025

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.

@vsanthanam
Copy link
Author

vsanthanam commented May 19, 2025

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

@vsanthanam vsanthanam changed the title Add support for Swift 6.1 / Xcode 16.3 Add support for Swift 6.1 / Xcode 16.3 wirh Autobuild May 19, 2025
@vsanthanam vsanthanam changed the title Add support for Swift 6.1 / Xcode 16.3 wirh Autobuild Add support for Swift 6.1 / Xcode 16.3 with Autobuild May 19, 2025
@jketema
Copy link
Contributor

jketema commented May 20, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy