I’m developing a Swift Package distributed via SPM. I have other dependencies (Swift packages) that my package depends on. Is it possible to expose types (classes, structs, etc.) defined in the dependencies to the client app? So given;
ClientApp -> MyPackage -> DependencyA (contains Person
class)
Is there a way to make ClientApp
see the Person
class without it also importing DependencyA
?
New contributor
Fourth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.