Skip to content

Swift package manifest decoding error #4043

@finestructure

Description

@finestructure

We have three packages that consistently fail analysis

[ WARNING ] App.AppError.noValidVersions(Optional(AD2D160F-E6C7-42B2-B76B-8CD71AEEFF7B), "https://github.com/maparoni/GeoJSONKit-Turf.git") [component: analyze]
[ WARNING ] App.AppError.noValidVersions(Optional(A8DA9C80-6C44-4538-A99B-35909789FF79), "https://github.com/thepotatoking55/CGLFW3.git") [component: analyze]
[ WARNING ] App.AppError.noValidVersions(Optional(7D04578E-BFF3-4C89-8676-A2FF90365B04), "https://github.com/compnerd/swift-firebase.git") [component: analyze]

Starting with the first one, we fail version detection, because the package manifest contains .custom("xros", versionString: "1.0"), which we fail to decode:

DecodingError.dataCorrupted: Data was corrupted. Path: platformName. Debug description: invalid rawValue: xros

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions