Nicolas Haan

    Nicolas Haan

    3 months ago
    Hi All! I'm trying to add a dependency on this pod ( aiming to use it through
    but I'm getting an error:
    > Task :cinteropIcu4c_iosxIosArm64 FAILED
    Exception in thread "main" java.lang.Error: /var/folders/z2/cmdsctqj089dsp264x9j5m3h0000gn/T/16980928468880910640.m:1:9: fatal error: module 'icu4c_iosx' not found
            at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:274)
            at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:75)
            at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:14)
            at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:522)
            at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:285)
            at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLibSafe(main.kt:214)
            at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:80)
            at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
            at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:40)
            at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:62)
    Here is my
    along with a complete issue reproduction project: I've seen that there are some issues with modules with a dash in the name: I've tried a lot of things from specifying a
    for the pod to modify the podspec of the library with no luck. Do you have any idea of what can go wrong?
    Julien F

    Julien F

    3 months ago
    I had the same problem with
    but my solution was to specify moduleName = “ProtoRPC”
    Nicolas Haan

    Nicolas Haan

    3 months ago
    Thank you! But whatever I try in
    , I keep getting the error module '*' not found