Hello everyone, I'm working on a KMP project with ...
# compose-ios
a
Hello everyone, I'm working on a KMP project with an iOS target, the project uses Compose Multiplatform and Compose resources. Everything works fine when building both in Debug and Release mode, but when uploading the app to TestFlight I end up with a crash:
#0	0x103d79498 in kfun:org.jetbrains.compose.resources.MissingResourceException#<init>(kotlin.String){} ()
I have an umbrella module that I embed using this script in my iOS scheme > Build > Pre-actions:
Copy code
cd "$(dirname "$PROJECT_FILE_PATH")/.."
./gradlew :umbrella:embedAndSignAppleFrameworkForXcode
And I also use SKIE. Any idea what I might be missing?
✅ 1
Well the solution to my problem was just to read the doc 😅 My app was missing this part: https://kotlinlang.org/docs/multiplatform/multiplatform-integrate-in-existing-app.html#configure-the-ios-project-to-use-a-kmp-framework But surprisingly everything worked fine (until releasing) with just this configuration: https://kotlinlang.org/docs/multiplatform/multiplatform-spm-local-integration.html I thought that the local integration with SPM made the configuration detailed in the iOS project to use a KMP framework non necessary (totally my mistake).