Anyone else having problems using cocoapods in KMM...
# multiplatform
j
Anyone else having problems using cocoapods in KMM?
Copy code
> 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
a
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
yes thats right https://github.com/frodob/MokoResourcesTest much appreciated
a
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
@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!
🎉 1