Skip to content

Build Errors in Package.swift are not reported in problems #951

Open
@adam-fowler

Description

@adam-fowler

Describe the bug
An error in the Package.swift that is not a syntax error that occurs at build time is not reported in the Problems view

To Reproduce
Steps to reproduce the behavior:

  1. Create new project
  2. Add a dependency to the target in the project to a module that does not exist
  3. Build (Shift+Cmd+B)
  4. No errors are reported in the problems view but the project failed to build

Expected behavior
Errors are reported in the Problems view

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwiftPMSwift Package ManagerblockedbugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions