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?