Bradleycorn
02/05/2025, 9:57 PMcd "$SRCROOT/.."
./gradlew :shared:embedAndSignAppleFrameworkForXcode
This has been working fine. Then today, my build started failing with:
e: java.lang.NoClassDefFoundError: org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowInfo (initialization failure)
I'm not sure what this means, or how to fix it?
Has anyone else run into this?Moussa
02/06/2025, 6:57 AM./gradlew clean
and try again running ./gradlew :shared:embedAndSignAppleFrameworkForXcode
• Check Kotlin Version Compatibility: Verify that the Kotlin version used in your shared module's build.gradle.kts
(or build.gradle
) file is compatible with the Kotlin Gradle plugin version.
• Xcode Version: When developing KMP project with support to any iOS target, always make sure that your Xcode version is compatible with KMP which can be found here https://kotlinlang.org/docs/multiplatform-compatibility-guide.html#version-compatibilityBradleycorn
02/06/2025, 2:19 PMgradlew clean
in the Multiplatform project folder. I get the same error. So it's not an Xcode thing. I've double checked my kotling and plugin versions. those are good.
I'm not sure what's going on hereBradleycorn
02/06/2025, 3:36 PMMoussa
02/07/2025, 9:58 AM