Sharing files between targets with buildable folders

Question or problem

Previously, when using the sources and resources parameters, it was possible to specify the same file path in multiple targets. Consequently, when generating a project, one file would be associated with multiple project targets.

This behavior can be achieved by adding an additional target to the Target Membership in the right sidebar of Xcode.

How can I implement this when using buildableFolders, enabling a single file to be shared among multiple targets?

Context

  • Tuist version: 4.191.8