Skip to content

No such module PackagePlugin #1704

@matthewbastien

Description

@matthewbastien

Swift version

swift-driver version: 1.113 Apple Swift version 6.0 (swiftlang-6.0.0.7.6 clang-1600.0.24.1)

Platform

macOS 14

Editor

Visual Studio Code

Does the issue reproduce with Swift 6?

Yes

Description

SourceKit-LSP gives an error diagnostic No such module PackagePlugin when trying to import PackagePlugin for a SwiftPM plugin. This module should be available and give code completion, go to definition, etc.

Steps to Reproduce

Clone git@github.com:elegantchaos/Versionator.git
checkout 187bc4c0e15dadccb5a65b2f71fa0082bd583f81
open in VSCode and try to edit Plugins/VersionatorPlugin/plugin.swift

Logging

No response

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