Hi! I’ve been trying to build and distribute a KMM...
# multiplatform
c
Hi! I’ve been trying to build and distribute a KMM project on CI environment for iOS and trying to use the
linkReleaseFrameworkIosFat
gradle task to build the shared framework. However when I run it (both from the terminal or from the gradle tasks section of Android studio), I get this error.
Copy code
class org.jetbrains.kotlin.gradle.tasks.FrameworkDescriptor cannot be cast to class org.jetbrains.kotlin.gradle.plugin.mpp.Framework (org.jetbrains.kotlin.gradle.tasks.FrameworkDescriptor and org.jetbrains.kotlin.gradle.plugin.mpp.Framework are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @334f46fa)
I can’t find any mention of this issue anywhere. Has anyone run into such problem? Any suggestions on what to check?
(Using Kotlin 1.6.20, Gradle 7.1.2, KMM plug-in 0.3.2(212-1.6.10-release-974-IJ)-216)
And no issues with
./gradlew :shared:embedAndSignAppleFrameworkForXcode
on Xcode build phases.