-
Notifications
You must be signed in to change notification settings - Fork 43
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
macOS: Toolchains are not installed in SWIFTLY_HOME_DIR #277
Comments
These env vars control where Swiftly itself is configured/installed, not where toolchains are stored. Toolchain locations vary between Linux and macOS. For macOS they're installed in |
Really? That's strange. I was expecting there to be an environment variable to control where toolchains are installed no matter what platform I'm installing on, similar to |
The macOS toolchains are offered in the There is an effort to make the initial prompt screen much more transparent in PR #273 |
I would prefer if swiftly were treated as a "Developer toolchain manager", rather than a "user-level toolchain manager", personally. Not having full control over where files are installed and downloaded is unfortunate. If my home directory starts filling up, and I want to install toolchains on a fast external drive, this limitation of swiftly would prevent that. I also dislike global programming language toolchain state, and would prefer to segregate toolchains per project as much as possible. If I could guarantee that all toolchain files were installed in a location I specified, I could make my builds at least feel more hermetic by placing my toolchain under I don't see swiftly as an application to install, but as a command line tool to abstract away complications of downloading and managing extra toolchains. Having a GUI installer to drop one file in my home directory just so I can run the init command in my terminal provides no value to me 🤷 . |
After installing the pkg to bootstrap from, setting both SWIFTLY_BIN_DIR and SWIFTLY_HOME_DIR does not impact where toolchains are installed.
The initial toolchain was already installed by a previous "init" call, but installing a new toolchain still doesn't put it in my set SWIFTLY_HOME_DIR.
Seems like they're placed in
/Users/andrew/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-25-a.xctoolchain
instead?The text was updated successfully, but these errors were encountered: