// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "PKG",
platforms: [.iOS(.v15)],
products: [
.library(name: "Lib1", targets: ["Lib1"]),
.library(name: "Lib2", targets: ["Lib2"]),
.library(name: "Lib3", targets: ["Lib3"]),
],
dependencies: [
],
targets: [
.target(name: "Lib1", dependencies: []),
.target(name: "Lib2", dependencies: []),
.target(name: "Lib3", dependencies: []),
]
)
I'm creating a package with multiple products, I uploaded it to github to use it in SPM in my project,
It's letting me select the libraries I want to add to my project which is what I want, but no matter what I select it bring all the libraries and it's files to my project is this how it works? or can I make it download only the selected libraries and it's dependencies only?
thank you