XCAssetsKit icon indicating copy to clipboard operation
XCAssetsKit copied to clipboard

SPM version number needs three components

Open splons opened this issue 5 years ago • 0 comments

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.

splons avatar Apr 25 '20 15:04 splons