I have an interesting issue. I have an SDK built as an XCframework and also a SP Version. When using the SP version everything is fine in regards to my issue. However when I build the XCFramework and run it in my app I get several errors because of using the same dependencies in both the App and the SDK. Here is an example of the error(Which there are several of). The main dependencies I use in both are NIO and Swift-Log. My SDK imports its frameworks as @_implementationOnly because we do not want to be able to import them into different applications. Any help is greatly appreciated.
**objc: Class _TtCV7NIOCore10ByteBuffer8_Storage is implemented in both /private/var/containers/Bundle/Application/AD290E1A-97AC-4868-81AF-6E12FD502AD5/ MyApp.app/Frameworks/MyFramework.framework/MyFramework (0x102b75158) and /private/var/containers/Bundle/Application/AD290E1A-97AC-4868-81AF-6E12FD502AD5/MyApp.app/MyApp (0x10131b9b0). One of the two will be used. Which one is undefined.**