https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Ravin Jain

12/05/2020, 6:26 AM
Hi I am new to KMM. After using cocoapod to add an external dependency. Trying to import using 
import cocoapods.<libraryname>.*
 but its not able to find the library. Also when i build using
./gradlew build
getting error
Copy code
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:68)
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:14)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:507)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:265)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:73)
        at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
        at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:19)
        at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:41)
Any help ?
f

Fabio Bombardi

12/05/2020, 3:38 PM
What this library is?
Look if this https://youtrack.jetbrains.com/issue/KT-43512 could be related
k

Kris Wong

12/07/2020, 1:58 PM
that's not the root error. that means there was an error building your pod.
r

Ravin Jain

12/07/2020, 8:25 PM
3 Views