r

    Ravin Jain

    1 year ago
    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
    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

    1 year ago
    What this library is?
    Look if this https://youtrack.jetbrains.com/issue/KT-43512 could be related
    Kris Wong

    Kris Wong

    1 year ago
    that's not the root error. that means there was an error building your pod.
    r

    Ravin Jain

    1 year ago