Hola!
I'm facing an issue with XCFrameworks and Swift Packages. I will try to explain it the best I can:
I have an XCFramework -> XCF
XCF has one or many Swift Packages compiled into it: SP1, SP2
When an application uses my XCF, it works perfect. The issue comes when an application that is using XCF, tries to use SP1 or SP2 also. Sometimes this will give a build error because Xcode doesn't know which Swift Package to use since it has the precompiled one in the XCF but the app is also calling SP1 directly.
Is there a way to prioritize one or the other? at the XCF level or at the app level? So that XCode knows that it does have two versions of the same Swift Package but knows that it should only use either the one in the XCF or the one that the app is importing.