tgrapperon / swift-dependencies-additions

More dependencies for `swift-dependencies`
MIT License
298 stars 39 forks source link

Add Individual Products #95

Closed myihsan closed 5 months ago

myihsan commented 6 months ago

I am not sure why addIndividualProducts() was commented out. But I think one of the reasons is that all these products are directly dependent on DependenciesAdditionsBasics within the package. (This also causes some linking issues when linking DependenciesAdditions along side with other higher-level dependencies dynamically)

By extracting DependenciesAdditionsBasics into a separate package and referencing it from that package, it seems to me that addIndividualProducts() is fine. If there are any remaining issues, please let me know. I will try to fix them.

With individual products, users who do not use ProcessInfoDependency can simply avoid linking it to get around this problem for now.

myihsan commented 5 months ago

https://forums.swift.org/t/unable-to-integrate-a-remote-package-that-has-local-packages/53146 This approach does not seem to be possible for a remote package.