'Swift package manager - singletons in multiple modules

I have a project where i'm installing the same SPM on two different modules. This SPM has a singleton (.shared) file.

Will the two modules use the same singleton or is it a duplicated file?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source