In my app target Foo
, I have a dependency on package Bar
.
Bar
itself have a dependency on another package Other
.
In my test target FooTests
, I have a dependency on package BarTestsHelpers
.
BarTestsHelpers
depends on Bar
.
When compiling test target FooTests
, I get the following unexpected warning in Xcode 26 only:
'Bar' is missing a dependency on 'Other' because dependency scan of Swift module 'Bar' discovered a dependency on 'Other'
I can see this is being discussed here as well without a solution.
I filled a feedback with a sample project here: FB20602885
It seems that we can remove the warning by explicitly adding the dependency Other
on BarTestHelpers
. But this shouldn't be needed as BarTestHelpers
doesn't use nor know about Other
, it only needs it as part of its dependency on Bar
.