j

    james

    2 years ago
    Having an issue with the cocoapods plugin. • Have included the pod in build.gradle
    cocoapods { }
    block • Generate podspec with Gradle task •
    pod install
    in the ios project folder successfully • Try to build from Xcode but get the following error:
    > Task :someapp:cinteropSomeModuleIos
    
    `Showing All Messages
    Exception in thread "main" java.lang.Error: /var/folders/nv/hdlrvk9j2g77bsvj_npsm46r0000gn/T/tmp8525659560237793549.m:1:9: fatal error: module 'SomeModule' not found`
    I checked FRAMEWORK_SEARCH_PATHS and it includes the path to SomeModule.framework Any ideas?
    Artyom Degtyarev [JB]

    Artyom Degtyarev [JB]

    2 years ago
    Hello! Do you have any dashes in the framework name? There was a problem with that, see(https://github.com/JetBrains/kotlin-native/issues/2884).
    j

    james

    2 years ago
    Hey! Thanks for replying, unfortunately no dashes in the framework name 😞
    fcosta

    fcosta

    2 years ago
    Have tou ever tried to call
    generateDummyFramework
    in Gradle project before
    pod install
    ?
    @james
    j

    james

    2 years ago
    Thanks @fcosta I'll take a look!
    r

    Ravin Jain

    1 year ago
    Hi @james were u able to resolve the issue i am also facing the same issue ?
    j

    james

    1 year ago
    @Ravin Jain I was not, any chance you did?