https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
k

Kartik Prakash

07/28/2021, 1:27 AM
Does anyone have a good example a KMP library being published for iOS (Kotlin-Native)? Ideally we want to build a KMP library publish it and consume it in a pure iOS project Obj-C or Swift.
m

mbonnin

07/28/2021, 7:58 AM
Usually, KMP libs publish klibs artifacts (look at okio for an example).
These klibs are to be used by Kotlin projects, not pure iOS/Swift projects
k

Kartik Prakash

07/28/2021, 5:06 PM
Thanks. I also found this plugin: https://github.com/ge-org/multiplatform-swiftpackage To consume your library in a swift project using Swift Package Manager.
👀 1
3 Views