I wrote an algorithm that I want to benchmark, and I am having difficulty adding CollectionsBenchmark to the project.
My algorithm is in an Xcode project as a command-line utility, so I followed Apple’s instructions for adding a package dependency. Specifically, in Xcode I chose the menu item “File > Swift Packages > Add Package Dependency…”
At the “Choose Package Repository” prompt I copy-pasted the URL for CollectionsBenchmark:
I clicked “Next”, and the “Verifying” step succeeded after a few seconds. Then at the “Rules” prompt I selected “Version: Up to Next Major 0.0.2 ..< 1.0.0” and clicked “Next” again.
The “Resolving” step failed almost immediately with the error:
The package dependency graph can not be resolved; unable find any available tag for the following requirements: https://github.com/apple/swift-collections-benchmark — 0.0.2..<1.0.0
This seems odd, as the tags page in the CollectionsBenchmark repository shows that tag 0.0.2 not only exists, but is the most recent available tag.
I tried a few more times with identical results.
What am I doing wrong here?