Skip to content

Build with Swift Build - #16

Merged
pmeinhardt merged 1 commit into
mainfrom
update-builds
Oct 26, 2026
Merged

pmeinhardt merged 1 commit into
mainfrom
update-builds

Conversation

@pmeinhardt

Copy link
Copy Markdown
Owner

Xcode 26 no longer ships XCBuild, which SwiftPM 6.0 relies on for multi-architecture builds, so the universal build failed on macOS runners:

error: xcbuild executable at '.../XCBuild.framework/.../xcbuild' does not exist or is not executable

Use the Swift toolchain bundled with the runner's Xcode instead of installing Swift 6.0 via setup-swift, and build with the Swift Build engine explicitly.

Swift Build places products in .build/out/Products/Release, so:

  • Determine the binary path via swift build --show-bin-path in CI
  • Check that the binary contains both arm64 and x86_64 slices
  • Look for the binary in the new location in the Vim plugin, falling back to .build/release for older toolchains
  • Point to --show-bin-path in the readme

Xcode 26 no longer ships XCBuild, which SwiftPM 6.0 relies on for
multi-architecture builds, so the universal build failed on macOS
runners:

  error: xcbuild executable at '.../XCBuild.framework/.../xcbuild'
  does not exist or is not executable

Use the Swift toolchain bundled with the runner's Xcode instead of
installing Swift 6.0 via setup-swift, and build with the Swift Build
engine explicitly.

Swift Build places products in .build/out/Products/Release, so:

- Determine the binary path via `swift build --show-bin-path` in CI
- Check that the binary contains both arm64 and x86_64 slices
- Look for the binary in the new location in the Vim plugin, falling
  back to .build/release for older toolchains
- Point to `--show-bin-path` in the readme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pmeinhardt
pmeinhardt merged commit d942f76 into main Oct 26, 2026
2 checks passed
@pmeinhardt
pmeinhardt deleted the update-builds branch October 26, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant