To build upon <https://kotlinlang.slack.com/archives/C3PQML5NU/p1610531551245000>, digging around br...
m
To build upon https://kotlinlang.slack.com/archives/C3PQML5NU/p1610531551245000, digging around brought me the clue that I might want to try to set
-fmodules
for the
compilerOpts
. However, I can find no documentation on how to do this for a Cocoapod. Any suggestions?
a
Hello, @Marcus! Unfortunately, this flag is not supported, see https://youtrack.jetbrains.com/issue/KT-39120 for the details.
m
Hey @Artyom Degtyarev [JB]! Alright, thanks for the info. So no way to use a pod that uses
@import
for the moment, right?
a
AFAIK, yes. There is no workaround at the moment.
m
Thank you for clarifying.
k
i've been waiting on this one for some time myself
i am surprised there are not more people with dependencies between their pods
m
@Kris Wong Have you perchance tried to create your own pod that pulls in those dependencies? I'm trying build something of a wrapper pod to get around this. Ideally that could simply expose the APIs of the depended pods, but not sure yet if this could work.
k
the pod dependencies are configured correctly
m
No doubt. I've created my own pod that has
XMPPFramework
as its own dependency. I've already tried successfully to create a class in there that uses
XMPPFramework
classes and can expose them as properties to my Kotlin code. Now I wonder if my own pod could be configured in such a way that the whole
XMPPFramework
becomes visible automatically without me creating dozens of wrappers.