swiftlang / swiftlang/swiftly

swiftly update fails with `package path specified was invalid`

Open
#596 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
960
Forks
83
Avg merge
2d 16m
Merged PRs (30d)
8

Description

macOS 26.6

$ swiftly self-update
Checking for swiftly updates...
Checking for swiftly updates...
A new version of swiftly is available: 1.1.4
                                                                                              Downloading swiftly 1.1.4
100% [==================================================================================================================================================================================================]
Downloaded 9.8 MiB of 9.8 MiB

Extracting the swiftly package...
installer: Error - the package path specified was invalid: '/var/folders/7v/pk4tg0l50fxbj6wqz12vtnlh0000gn/T/swiftly-EA34D5EB-5F2E-4D96-AABB-A62D23DDA4DA'.
Error: RunProgramError(exitCode: 1, program: "installer", arguments: ["-pkg", "/var/folders/7v/pk4tg0l50fxbj6wqz12vtnlh0000gn/T/swiftly-EA34D5EB-5F2E-4D96-AABB-A62D23DDA4DA", "-target", "CurrentUserHomeDirectory"])

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on macOS 26.6 with swiftly self-update and inspect the self-update extraction flow and its macOS installer invocation. Trace how the downloaded package path is formed; done means the update completes successfully instead of passing an invalid path to installer.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.