I was just working on adding Swift Collections as a dependency to a Swift 5.6 related project, and glancing through the readme it looked like version 1.1.0 of the package was what I should aim for. However, when I used the stanza provided in the README, SwiftPM was unable to resolve the dependencies.
dependencies: [
.package(
url: "https://github.com/apple/swift-collections.git",
.upToNextMajor(from: "1.1.0")
)
],
As I looked in the repo, there's tags for the 1.0.x versions, but no tag for the 1.1.0 - and it's not listed in the GitHub releases. I'm guessing that perhaps this missing tag is the reason it's not resolving.
Am I missing something obvious about adding it to my project, or is this a tag that could be added in? It looks like the repo has a release/1.1
branch, should that be sufficient for SwiftPM to use?