Jonathan
09/09/2025, 2:37 PMcommonMain/ sourceSet. The concern I have is that “native” component scanning doesn’t seem to work. Reviewing the androidMain/ generated code I don’t see Koin declarations for classes I’ve marked with`@Single` . The generated module for actual class NativeModule is empty. I don’t see one at all for iosMain/ . Has anyone else experienced this?
https://kotlinlang.slack.com/archives/C67HDJZ2N/p1757211546010449arnaud.giuliani
09/10/2025, 2:59 PMarnaud.giuliani
09/10/2025, 2:59 PMJonathan
09/10/2025, 3:18 PMandroidMain/ code to generate a module graph using the Assemble Build menu option. The issue I was having was related too using the same @ComponentScan(MY_PACKAGE_PATH) in commonMain/ and androidMain/ sourceSets. It appears that using the same path in the main source set will “prevent” the target source set from running.
The iOSMain/ generated module graph for me only when launching on a simulator/physical iOS device. Is this intentional?arnaud.giuliani
09/10/2025, 3:32 PMJonathan
09/10/2025, 3:34 PMiosMain/ generated module graph?