|
products: [ |
|
.library( |
|
name: "Arrow", |
|
targets: ["Arrow"]) |
|
], |
The ArrowFlight target exists in the package, but it is not exposed as a library product in Package.swift. Because of this, consumers of the package cannot import ArrowFlight.
Since it is not part of a .library product, SwiftPM does not make ArrowFlight available as an importable module to downstream packages.
.products = [
.library(name: "Arrow", targets: ["Arrow"]),
.library(name: "ArrowFlight", targets: ["ArrowFlight"])
]