Skip to content

Swiftly packages aren't working for me #537

@Molanda

Description

@Molanda

I'm trying to use Swiftly, but the packages don't seem to work.

First, I tried the instructions here. It claimed to install successfully, but ~/.swiftly didn't get created. I tried from both the command line and from the UI.

Then I tried installing it using brew. This time it worked. I performed the swiftly init, updated the env, and verified the variables were set.

SWIFTLY_HOME_DIR=/Volumes/Local/Brian/.swiftly
SWIFTLY_BIN_DIR=/Volumes/Local/Brian/.swiftly/bin
SWIFTLY_TOOLCHAINS_DIR=/Volumes/Local/Brian/Library/Developer/Toolchains

When I try to install swift, the download completes, but the package installation fails.

% swiftly install 6.3.1 --verbose
Swiftly is currently unlinked and will not manage the active toolchain. You can run
the following command to link swiftly to the active toolchain:

    $ swiftly link


Installing Swift 6.3.1
                                                                                                                    Downloading Swift 6.3.1
100% [===========================================================================================================================================================================================================================================]
Downloaded 1433.7 MiB of 1433.7 MiB

Attempting to acquire installation lock at /Volumes/Local/Brian/.swiftly/swiftly.lock ...
Acquired installation lock
Installing package in user home directory...
installer: Cannot install on volume /Volumes/Local because it is disabled.
installer:
Error: RunProgramError(exitCode: 1, program: "installer", arguments: ["-verbose", "-pkg", "/var/folders/f9/dsnl9q397sxbfky_b875sj6r0000gq/T/swiftly-BCF6CFED-5CB2-49C4-88C8-50DA4B96A965.pkg", "-target", "CurrentUserHomeDirectory"])

This is a Mac mini 2018 running Sequoia 15.7.7.

Please let me know if you need additional information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions