1 min readMay 2, 2020
Is there any advantages in “official” way you describe over creating separate framework eg. DomainModels (with target DomainModels)?
When I start working with SPM I encounter problem with dependencies. My architecture is very modular. Business logic of my apps are are devided over lots of frameworks and targets. When I try to add static library (which is produced by SPM) to few of targets and then link it to app bundle XCODE report lots of warnings.
As far as I know SPM can’t create dynamic framework so embedding static library in few targets will still produce warnings.