https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

Kruger Brent

06/06/2019, 4:38 PM
-.txt
m

Marc Knaup

06/06/2019, 4:40 PM
Maybe doesn't work in your case, but if you happen to be using Cocoapods you could use the Cocoapods plugin instead 🙂 https://kotlinlang.org/docs/reference/native/cocoapods.html
👍 1
Note that for debug and release Kotlin multiplatform creates different binaries.
k

Kruger Brent

06/06/2019, 5:18 PM
okay, thank you, I will check out that link. 👍
Also, I have another question. Suppose I am using, say an Obj-c library in my Swift Project that is part of a Kotlin MPP project. And can I utilize the features provided by the Obj-C library in the kotlin iOSMain module where the iOS platform specific code lies.
Is it same as adding a Cocoa Pod or should I perform some additional config?
m

Marc Knaup

06/06/2019, 5:24 PM
You can provide Pod dependencies in the CocoaPods Gradle plugin. I don't know its limitations though.
👍 1