Closed H4kt closed 2 weeks ago
Hey!
Multi-module resources are not supported in Compose 1.6.2.:
Multimodule projects are generally not supported yet
: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html
You should be using 1.6.10-*
and Kotlin 2.0.0: https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.6.10-beta01
Thank you for pointing this out.
Tested with: Kotlin 2.0.0-Beta5 Compose Multiplatform 1.6.10-beta01, 1.6.10-beta02, 1.6.10-dev1608
The issue persists
Could you attach a minimized project, in which you experience the issue? Multi-module support should be available since 1.6.10-beta01
+ Kotlin 2.0.0-Beta5
This happened to be a misconfiguration of the XCode project. It seems like Fleet wrecked something up.
Fixed by replacing iosApp
folder with a generated one from the project wizard.
Describe the bug Compose is not merging resources from different modules included as dependencies. This might be more of a question type of issue, however it works just fine for Android. There might be a need to manually configure copying of the resources. If so, how could this be done with the example project structure?
Affected platforms
Versions
To Reproduce
Expected behavior String resources should load just like on the Android target
Actual behavior App crashes with