Skip to content

Xcode 11 install via SPM won't compile because of SourceKitten #2867

@RamblinWreck77

Description

@RamblinWreck77

Installing SwiftLint via SPM installs dependencies that prevent the project from compiling.

SourceKitten doesn't seem to consider this their problem:

jpsim/SourceKitten#612

Any proposed solution?

Also, since I'm trying to move from Cocoapods > SPM, I'm running into another issue:

In cocoapods you could do:

pod 'SwiftLint', :configurations => ['Debug']

And SwiftLint wouldn't get included in your release builds. Is this possible with SPM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions