What is the status of importing Swift Packages int...
# multiplatform
e
What is the status of importing Swift Packages into a KMP project? I’m trying to integrate an existing third-party library released with SPM. So far, I’ve been trying to wrap the package and import it as a private CocoaPod (without much success). There is a tracker issue https://youtrack.jetbrains.com/issue/KT-53877, but it seems to have devolved into a discussion of how to expose a KMP library to SPM (which is the inverse of what I want).
a
p
You might be interested in participating here: https://kotlinlang.slack.com/archives/C3PQML5NU/p1717595910551509
👍 1
h
p
That works really well and is one of the current ways to consume KMP frameworks in swift land. But that doesn't solve the problem of kotlin
not seeing
swift code symbols. They simply can not talk to each other unless an objective-c bridge is created. Either through `kotlin interfaces`(simpler) or using the
headers
files generated from
.def
files, this last technique is a bit tedious.
142 Views