Has anyone had any success with the `native.cocoap...
# kotlin-native
c
Has anyone had any success with the 
native.cocoapods
 plugin recently? I am trying to write a KMM library whose iOS code depends on a cocoapod, which I import using
Copy code
cocoapods {
  pod("AFNetworking")
}
However 
cinterop
 gives me
Copy code
fatal error: module 'AFNetworking' not found
as in this issue. But I don’t think it’s the same problem. Anyone had similar?
b
Had the same issue, ended up scraping cocoapods and manually importing the framework
👍 1
c
Huh. Is it simply broken then? There is lots of documentation suggesting this should simply work
b
It's not as easy as the documentation suggests
https://github.com/Baileypollard/kotlin-mp-cocoapods-sample I had a sample project up, feel free to follow the instructions
i
Did you install cocoapods-generate too?
c
Just been advised of that in #multiplatform, no I had not installed it and that seemed to fix it!
o
hi, I've also installed cocoapods-generate but I still get the same error. I'm using M1 mac, maybe it's an architecture problem
do you have any idea?