Thread
#multiplatform
    j

    Julius

    1 year ago
    Anyone else having problems using cocoapods in KMM?
    > Task :SharedCode:cinteropAFNetworkingIosX64 FAILED
    Exception in thread "main" java.lang.Error: /var/folders/j7/fqrxk_js0sn4r2blxl4kq0fm0000gn/T/14707145049679086784.m:1:9: fatal error: module 'AFNetworking' not found
    Artyom Degtyarev [JB]

    Artyom Degtyarev [JB]

    1 year ago
    Hello, @Julius! Haven’t got this problem myself, but maybe I’ll be able to localize the problem. Currently I’m looking at the MokoResourcesTest project you mentioned earlier, is this a right place to start?
    j

    Julius

    1 year ago
    yes thats righthttps://github.com/frodob/MokoResourcesTest much appreciated
    Artyom Degtyarev [JB]

    Artyom Degtyarev [JB]

    1 year ago
    In my case, adding
    podfile = project.file("../iosApp/Podfile")
    to the
    SharedCode/build.gradle.kts
    helped. After that, I re-imported project to Android Studio and everything began to work. See this doc for the details.
    j

    Julius

    1 year ago
    @Artyom Degtyarev [JB] updated and added podfile path, but I still can’t build die ios app 🙁
    @Artyom Degtyarev [JB] nevermind, I just sow that I forgot to uncomment use_frameworks! But thanks for looking into it!