Closed mirzemehdi closed 1 week ago
For some reason compose-resources aren't visible in iOS side.
Solution:
First Step: in your shared module in iosMain sourceSet create resources
directory (if not exists), and download Resources
, unzip and copy as below image.
Resources
Second step: in build.gradle
file set resources directory as below
iosMain {
resources.srcDirs("src/commonMain/resources","src/iosMain/resources")
dependencies {
//Your dependencies
}
}
with new compose version this should be fixed, if it happens again this issue needs to be reopened
When implementing kmpauth-uihelper module, Android builds and works normally. But in iOS it crashes with runtime error. Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: