I’m getting itermittent exceptions with compose re...
# multiplatform
d
I’m getting itermittent exceptions with compose resources
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path:
.../compose-resources/values/strings.commonMain.cvr
I made sure the resource string is in the correct place in
strings.xml
in my
composeResources
. Android doesn’t seem to throw this exception, Has anyone experienced this issue before?
b
Was this after upgrading to the 1.6.10 compose multiplatform version? https://www.jetbrains.com/help/kotlin-multiplatform-dev/whats-new-compose-1610.html#known-issue-missingresourceexception I had this problem on iOS. I had clean build, invalidate cache etc everywhere I could, and then I had to make the iOS build from Android Studio first before i could build in xcode again
d
I’m still using 1.6.8 at the moment. I also had the same to get the Xcode build to work, also had to do a pod install
b
Dang, I'm not sure then... Maybe try upgrading to 1.6.10 and doing all the clean stuff everywhere and try again?
I guess it's 1.6.11 now
Oh that also includes upgrading to Kotlin 2.0.0 for that known issue