I am developing an app that uses TCA with SwiftUI and I'm currently integrating an SDK in the form of a .framework. I tried dragging it into the Sources/Feature folder and it wouldn't pick up any of the files.
This would work on a normal project by dragging the .framework into the project and in the General tab, in Frameworks, Libraries and Embedded Content. But with TCA, this cannot be done unless it's on the root of the project, which I want to keep clean and decoupled.
I read into SPM and it seems that it's possible to transform .framework into an .xcframework. This .xcframework should be added as a .binaryTarget in the Package.swift.
I cannot get the .framework converted due to another pending issue and I managed to extract the contents of it instead.
My question is, would it be possible to use these .h and .m Obj-C files and bridging header with TCA? I have all of this in my project inside Sources/Feature and Xcode doesn't seem to pick up any of the files.