-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Describe the bug
When trying to use the Run Swift Script option on a couple of different Macs, absolutely nothing happens. I get no output, no terminal, no evidence that any code has run or attempted to run.
It doesn't matter whether I'm in a saved file or, as I usually use this feature, in an unsaved document with a short amount of code. Nothing seems to happen when I try to run the active document as a Swift script.
To Reproduce
Steps to reproduce the behavior:
- Open a blank text document
- Add some basic Swift code e.g
import Foundation
print("Hello, World!")
- Select "Run Swift Script" from the Command Palette
- Nothing happens
Expected behavior
Expected behaviour would be the file runs, opening a terminal, and displaying "Hello, World" as the output of the script
Environment
- OS: macOS 26 Tahoe
- Swift version: swift-driver version: 1.127.14.1 Apple Swift version 6.2 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
- Visual Studio Code version: 1.104.0
- vscode-swift version: 2.11.20250806
Additional context
This worked until very recently on my own Mac, though it seems to have stopped working before on my employer-provided Mac. My own Mac has absolutely zero restrictions on software or permissions, so I don't believe this to be the issue.
It's also not a result of upgrading to Tahoe, as my employer-provided Mac has been experiencing this bug while on Sequoia.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status