You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Showing Recent Messages
Failed to resolve dependencies Dependencies could not be resolved because no versions of 'swift-collections' match the requirement 1.1.0..<1.2.0 and root depends on 'swift-collections' 1.1.0..<1.2.0.
The text was updated successfully, but these errors were encountered:
We do not have a 1.1.0 release tagged yet; the repository's current default branch is downstream from the 1.1 release branch, so the README is documenting a setup that isn't live yet.
To use Swift Collections as a dependency, you need to set your expected version number to one of the existing release tags, as in .upToNextMinor(from: "1.0.5").
(To test unreleased features, you can also use a branch-based spec such as .branch("release/1.1"), or .branch("main") -- however, such specifications should never be used in production, as these development branches are, by definition, unstable: things can arbitrarily change, break or get removed from these branches, without notice.)
I'll see if I can switch the default branch to release/1.0. Failing that, it'd likely be best to change the README on main back to recommend the 1.0 versions.
My
Xcode version 14.3.1
Swift version 5.8.1
Package.swift
Showing Recent Messages
Failed to resolve dependencies Dependencies could not be resolved because no versions of 'swift-collections' match the requirement 1.1.0..<1.2.0 and root depends on 'swift-collections' 1.1.0..<1.2.0.
The text was updated successfully, but these errors were encountered: