Closed
Description
Describe the bug
SwiftPM versions using Package.resolved
format version 1 (ie 5.5 or earlier) do not deal with packages that have the different name and id. This appears to have been caused by PR#414
To Reproduce
This package does not show the realm dependencies
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "my-package",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "my-package", targets: ["my-package"]),
],
dependencies: [
.package(url: "https://github.com/realm/realm-swift", .upToNextMajor(from: "10.28.0")),
],
targets: [
.target(name: "my-package", dependencies: ["realm-swift"])
]
)
cc @stevapple