Description
Description
I am seeing what I believe is unintended behavior for dependency resolution with SwiftPM
I have two libraries that are tagged as pre-release:
- https://github.com/liveview-native/liveview-client-swiftui
- https://github.com/liveview-native/liveview-native-swiftui-mapkit
the Mapkit lib depends on the SwiftUI client lib.
the SwiftUI client was installed with Exact Version: 0.3.0-alpha.3
this installs OK.
The Mapkit lib has a dependency of liveview-client-swiftui from: 0.2.0
which should be valid for every version from 0.2.0
- 1.0.0
Expected behavior
I would expect the Mapkit lib to install OK because it's Package.swift file has a dependency rule for liveview-client-swiftui for a range of versions that the installed version is within
Actual behavior
Installation of the Mapkit lib fails with this error:
Steps to reproduce
No response
Swift Package Manager version/commit hash
Xcode 15.2
Swift & OS version (output of swift --version ; uname -a
)
Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Darwin Brians-MacBook-Air.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 arm64