Skip to content

SPM version number needs three components #4

Description

@splons

Hello, I am using your great XCAssetsKit to build a command line tool (using SPM) to analyze color contrast for accessibility. I ended up having to make a local clone of your repo and access it with a a local SPM dependency.

I was not able to get the SPM to resolve the reference to your package in your repo. If I add this package dependency:

.package(url: "https://github.com/natmark/XCAssetsKit.git", from: "5.0")

I get the error "Failed to parse the manifest file"

If I change the package dependency to:

.package(url: "https://github.com/natmark/XCAssetsKit.git", from: "5.0.0")

I get the error "Failed to resolve dependencies"

All of the examples I have seen use three components for their SPM version.

Can you change your .swift-version file to have 5.0.0 version so I can try to reference your repo directly?

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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