Skip to content

SwiftLint failing build with missing product_type #19

@flowinhoBSCH

Description

@flowinhoBSCH

SwiftLint causes the build of an iOS project to fail with the attached error message. Setup:

Xcode 10.3
MacOS Mojave
Carthage Builds
XCode project generated using xcodegen

The thing is: i cant seem to interpret this message. I am missing something obvious, but i cant guess what.

Does anyone know what exact SwiftLint is referring here to?

Thx in advance.

🌱  Failed to read Package.swift file:
Couldn't decode package dump:
keyNotFound(CodingKeys(stringValue: "product_type", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "products", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"product_type\", intValue: nil) (\"product_type\").", underlyingError: nil))
Command PhaseScriptExecution failed with a nonzero exit code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions