owensd / vscode-swift

An extension for VS Code which provides support for the Swift language.
MIT License
147 stars 5 forks source link

error: no such module 'PackageDescription' #9

Open Gurpartap opened 7 years ago

Gurpartap commented 7 years ago
/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
orta commented 7 years ago

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

As of now, only Swift 3.1 is supported

owensd commented 7 years ago

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

On Aug 25, 2017, at 7:45 AM, Orta notifications@github.com 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.