electrolobzik
12/17/2023, 7:27 PMmoko
library and getting this error when the app starts on the iOS:
Caused by: kotlin.IllegalArgumentException: bundle with identifier com.tagbeam.MR not found
at 0 TagBeam 0x1038134e3 kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119
at 1 TagBeam 0x10380cbeb kfun:kotlin.Exception#<init>(kotlin.String?){} + 115
at 2 TagBeam 0x10380ce0b kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 115
at 3 TagBeam 0x10380d18b kfun:kotlin.IllegalArgumentException#<init>(kotlin.String?){} + 115
at 4 TagBeam 0x10397df0b kfun:dev.icerock.moko.resources.utils#loadableBundle__at__platform.Foundation.NSBundle.Companion(kotlin.String){}platform.Foundation.NSBundle + 3355
I tried to fix the issue myself with no luck. Have spent several hours already. It runs just fine on Android. I think I just don't have enough knowledge of the KotlinNative part of this process. I read the readme and found several similar issues (https://github.com/icerockdev/moko-resources/issues/362). As I understood I need to force the bundle to be copied or created inside the iOS project. But I don't understand how to apply that information to my project and do that, because I am running iOS app from Android Studio (it's a pure kotlin KMM project). I would really appreciate any help here.