swiftly icon indicating copy to clipboard operation
swiftly copied to clipboard

Error: The folder "bin" doesn't exist

Open MahdiBM opened this issue 2 months ago • 2 comments

I can't seem to figure out what "bin" directory it's complaining about. My CI set up is a bit (not that much) complicated so I give it a chance I'm confusing swiftly.

What I want to know though, what "bin" directory is it talking about? So maybe I can just make sure it exists before running swiftly? The commands and env vars and CI step result is viewable in the picture. This is the CI run: https://github.com/swift-dns/swift-endpoint/actions/runs/18441525425/job/52542535358

Image

MahdiBM avatar Oct 16 '25 07:10 MahdiBM

Is it the swiftly use invocation that fails with this error?

The error is likely in relation to the usr/bin directory of the particular toolchain. Is is possible that swiftly is confused about whether it is installed or not? It says "Swift 6.2.0 is already installed" and so there might not be a toolchain in the /Users/runner/Library/Developer/Toolchains directory because swiftly saw that there was already an entry in its ~/.swiftly/config.json for it.

cmcgee1024 avatar Oct 27 '25 19:10 cmcgee1024

Is it the swiftly use invocation that fails with this error?

I think so.

Thanks for the clues. I'll investigate later and report back.

MahdiBM avatar Oct 28 '25 07:10 MahdiBM