# Multiple modules setup

**URL:** <https://community.tuist.dev/t/multiple-modules-setup/668>\
**Category:** General\
**Tags:** dependencies\
**Created:** [July 18, 2025, 10:46am UTC](https://community.tuist.dev/t/multiple-modules-setup/668 "2025-07-18T10:46:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grahamhindle](https://community.tuist.dev/user_avatar/community.tuist.dev/grahamhindle/32/504_2.png) [@grahamhindle](https://community.tuist.dev/u/grahamhindle)\
**Post date:** [July 18, 2025, 10:46am UTC](https://community.tuist.dev/t/multiple-modules-setup/668/1 "2025-07-18T10:46:55Z")

</div>

I keep restructuring my Tuist projects due to dependency problems., and i would like some general advice.

I have a project composed of 16 modules,.Each module has app, framework/library, and .unitTest target.  
Each module has a Project.swift

I use TCA, and SharingGRDB as the only 2 external dependencies for each module  
Typically each module will have a TCA Reducer, and a set of views, and be dependent on modules for DataServices, UIComponents

I am not sure what is best practice to achieve this, but I am running in to issues with this approach, as i am increasingly getting warnings from Tuist generate.

▸ Target ‘Clocks’ has been linked from target ‘ComposableArchitecture’ and target ‘SharedModels’, it is a static product so may introduce unwanted side effects.

All the modules build and run as expected but these warnings must be something fundamental to my approach.  
I have tried

1. creating Tuist/Package.swift in each module.
2. dependencies in each Project.swift

i would appreciate some feedback as to best practice

---

<div class="post-metadata">

**Author:** ![rgnns](https://community.tuist.dev/user_avatar/community.tuist.dev/rgnns/32/381_2.png) [@rgnns](https://community.tuist.dev/u/rgnns)\
**Post date:** [July 19, 2025, 3:26pm UTC](https://community.tuist.dev/t/multiple-modules-setup/668/2 "2025-07-19T15:26:26Z")

</div>

The project I work on consist of a lot of Project.swift files and get no warnings. If you can share the setup, or an example with the issue I may be able to help.

---

<div class="post-metadata">

**Author:** ![marekfort](https://community.tuist.dev/user_avatar/community.tuist.dev/marekfort/32/8_2.png) [@marekfort](https://community.tuist.dev/u/marekfort)\
**Post date:** [July 22, 2025, 7:02am UTC](https://community.tuist.dev/t/multiple-modules-setup/668/3 "2025-07-22T07:02:17Z")

</div>

Hey 👋

Have you had a chance to take a look at this [documentation](https://docs.tuist.dev/en/guides/features/projects/dependencies#static-or-dynamic)? There’s no silver bullet here.

Generally, your options are:

- Restructure your graph, so the static framework is not duplicated
- Make such targets dynamic
- You can even choose to ignore this warning if you know you don’t care about duplicated symbols: [https://docs.tuist.dev/en/references/project-description/enums/generationoptions.staticsideeffectswarningtargets#generationoptions-staticsideeffectswarningtargets](https://docs.tuist.dev/en/references/project-description/enums/generationoptions.staticsideeffectswarningtargets#generationoptions-staticsideeffectswarningtargets)

How exactly to execute on these very much depends on the project at hand.
