Skip to content

Failed to find Swift Toolchain on macOS #1502

Closed as not planned
Closed as not planned
@0xTim

Description

@0xTim

Describe the bug
When running on a clean install of macOS I'm getting the error "Failed to find Swift toolchain". This is a fresh VM with nothing installed.

Important Note: This environment has installed Swift via Swiftly and Xcode is not installed

To Reproduce

  1. Install Swift
  2. Install VSCode
  3. Install the extension
  4. Click "Create Swift Project"

Expected behavior
Toolchain discovered so I can create projects, build etc

Environment

  • OS: macOS 15.4
  • Swift version (output of swift --version): Swift version 6.1 (swift-6.1-RELEASE)
  • Visual Studio Code version: 1.99.2
  • vscode-swift version: 2.0.2

Additional context
Add any other context about the problem here.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions