Only include some libraries from a Swift Package instead of all #6136
-
Hello! I am working on upgrading a macOS app to use the Tuist build system. I am running into some issues with the packages I am using. Some of them include a significant number of libraries in one Swift Package. I only need to use one of these however... How would I go about excluding or including a subset of libraries from one swift packages? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey 👋 We should strip unused libraries based on the internal downstream dependencies. If Package has products If that's not the case, would you mind filing an issue with a reproducible sample instead and we can look into fixing it? 🙏 |
Beta Was this translation helpful? Give feedback.
Hey 👋
We should strip unused libraries based on the internal downstream dependencies. If Package has products
ProductA
andProductB
andApp
depends only onProductA
, theProductB
should be automatically stripped from the generated project.If that's not the case, would you mind filing an issue with a reproducible sample instead and we can look into fixing it? 🙏