Hello. There is iOS Framework which has 2 modules....
# ios
v
Hello. There is iOS Framework which has 2 modules. When we add it into KMP via Cocoapods we have generated classes only to first one
PSPDFKit
. If we add module name to the pod gradle config:
Copy code
pod("PSPDFKit") {
    moduleName = "PSPDFKitUI"
}
We have access only to
PSPDFKitUI
. What is actually happening? I saw somewhere mentions that KMP has limitation to generate interop classes to only 1 module per framework (can't find them anymore). Is it the case? Can we workaround this somehow?
j
Could you share your full build file?
I'm going to guess you will have to have multiple pod dependencies for each one of the PSPDFKit frameworks you want to import with cinterop
v
That is "full" basically. We just playing in the empty project. We tried to import it twice (per module in pod), but it won't build. I would assume coz of duplicated dependencies. And we failed to somehow exclude dependency x from pod y and vice-versa