swiftlang / swiftlang/github-workflows
macOS Testing is broken with nightly toolchain
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 115
- Forks
- 57
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 3
Description
It appears the macOS run is broken, at least for runs that use a nightly toolchain. The "Install Swift toolchain via Swiftly" step fails with:
Run swiftly install main-snapshot
swiftly install main-snapshot
swiftly use main-snapshot
shell: /bin/bash -e {0}
env:
DEVELOPER_DIR: /Applications/Xcode_26.4.app/Contents/Developer
SWIFTLY_HOME_DIR: /Users/runner/.swiftly
SWIFTLY_BIN_DIR: /Users/runner/.swiftly/bin
SWIFTLY_TOOLCHAINS_DIR: /Users/runner/.swiftly/toolchains
Error: RunProgramError(exitCode: 1, program: "/usr/bin/xcrun", arguments: ["--show-sdk-path", "--sdk", "macosx"])
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
Fetching the latest main branch snapshot...
Error: Process completed with exit code 1.
https://github.com/swiftlang/swift-foundation/actions/runs/32396783384/job/96515349154
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions job and inspect the macOS workflow's "Install Swift toolchain via Swiftly" step, including the xcrun SDK lookup and Swiftly link error. Verify the failure with the nightly toolchain and confirm that a macOS nightly run completes successfully after the workflow fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, swift
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100