Hello, I am working on multi module project for android and iOS. My project consists of 2 KMM modules: main, messenger and 2 native ones. In the main module I am using messenger’s module as in attached picture with source sets. When I generate final binaries for main module on android (.aar) and try to use it on native app, messenger’s module code executed from main module is not working unless I add explicitly messenger’s module binary to android test app dependencies (picture 2). On the other hand when I generate final binaries for main module on iOS (.xcframework) and try to use it on native swift app, messenger’s module code executed from main module is working without adding messenger’s dependency explicitly to iOS test app (picture 3).
Can someone explain why is this working this way on iOS? Also can I change default behaviour on iOS and make it work same way as on android?