vscode-swift icon indicating copy to clipboard operation
vscode-swift copied to clipboard

error: no such module 'PackageDescription'

Open Gurpartap opened this issue 8 years ago • 2 comments

/Users/Gurpartap/Projects/github/Gurpartap/swift-server-example/Package.swift:4:8: error: no such module 'PackageDescription'
import PackageDescription
       ^
[Info  - 8:49:06 AM] Connection to server got closed. Server will restart.

This is a scratch project created using swift package init --type executable. Manual swift build works just fine.

VS Code v1.15.1
vscode-swift v0.8.0
Xcode 9 beta6
Apple Swift version 4.0 (swiftlang-900.0.63.10 clang-900.0.36)
Target: x86_64-apple-macosx10.9

Gurpartap avatar Aug 25 '17 03:08 Gurpartap

I wonder if this is more of an issue that Swift 4 isn't supported

As of now, only Swift 3.1 is supported

orta avatar Aug 25 '17 14:08 orta

Yeah, I've not done any work for Swift 4 yet.

On Aug 25, 2017, at 7:45 AM, Orta [email protected] wrote:

I wonder if this is more of an issue that Swift 4 isn't supported

As of now, only Swift 3.1 is supported

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

owensd avatar Aug 25 '17 14:08 owensd