https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
p

Pavel S

03/21/2024, 4:02 PM
Is there a sample multimodule (shared depends on other modules) compose multiplatform project with an ios target? I’m trying to figure out how to configure compose multiplatform for such a project, but having issues resolving compose code on ios
s

Stefan Oltmann

03/21/2024, 9:38 PM
You mean multiple modules depending on shared. https://github.com/Kotlin/kmm-production-sample and older samples doing this. But new templates just have an all-in-one composeApp module. I just migrated my app to this new style, because Compose Multiplatform resources did not work with a separate Android module for me.
p

Pavel S

03/22/2024, 7:34 AM
No, I mean when
shared
depends on other modules, so the shared code is not all in one module, but features are in their respective modules
s

Stefan Oltmann

03/22/2024, 7:42 AM
Ok, understood.
2 Views