Scenario: I am developing two frameworks, FLEX and Reflex. FLEX has no dependencies and Reflex depends on FLEX and Echo, a swift package. Both FLEX and Reflex support either SPM or Cocoapods.
Echo only supports SPM and it also depends on swift-atomics. FLEX is purely Objc and Reflex is Swift.
In an example app, I added FLEX and Reflex as pod dependencies. After opening the generated workspace, I added Echo as a Swift package to the
Pods project, to the
Reflex target. I have tried this all with and without the
use_frameworks! option in the
Everything builds up until it reaches
import Echo in Reflex.
No such module 'Echo' it tells me. Which is strange, because I can
import CEcho just fine, where
CEcho is one of the targets declared by
What do I need to do to get this to work? I've tried everything I can think of, but I'm really just guessing here; package management and build systems aren't my strong-suit.