I've updated my Swift Package, PixelKit, to Swift 5.3.
I tagged my commit with 1.1.1 and pushed to origin.
Tho when trying to add it to another package, it failed to resolve dependencies:
I'm not sure what the old tag 1.0.13 has to do with this.
I'm using the same swift tools version in both packages:
I tagged my commit with 1.1.1 and pushed to origin.
Tho when trying to add it to another package, it failed to resolve dependencies:
Here's how I include it:because PixelKit >=1.0.13 contains incompatible tools version and root depends on PixelKit 1.1.1..<2.0.0, version solving failed.
Code Block .package(url: "https://github.com/hexagons/PixelKit.git", from: "1.1.1")
I'm not sure what the old tag 1.0.13 has to do with this.
I'm using the same swift tools version in both packages:
Code Block // swift-tools-version:5.3
Thanks for reporting this. It looks like there are two issues here, one is that you are getting an incorrect error and the other one is actually an issue in SwiftPM's Git support.
The second issue arises because you have a file called Icon\r in your repository and the extra trailing \r character trips up SwiftPM. I was able to reproduce the issue and work around it by renaming that file to just Icon.
The second issue arises because you have a file called Icon\r in your repository and the extra trailing \r character trips up SwiftPM. I was able to reproduce the issue and work around it by renaming that file to just Icon.