When project compiled with enforceExplicitDependencies config option enabled and it has static libraries dependencies it fails with error no such module 'StaticDependency'. It can be easily repeated in this tuist example https://github.com/tuist/tuist/tree/main/fixtures/ios_app_with_static_libraries by setting config option.
What happened?
When project compiled with
enforceExplicitDependencies
config option enabled and it has static libraries dependencies it fails with errorno such module 'StaticDependency'
. It can be easily repeated in this tuist example https://github.com/tuist/tuist/tree/main/fixtures/ios_app_with_static_libraries by setting config option.How do we reproduce it?
let config = Config(generationOptions: .options(enforceExplicitDependencies: true))
no such module 'B'
Error log
no such module 'B'
macOS version
14.1
Tuist version
4.24.0
Xcode version
15.2