k

    Kruger Brent

    3 years ago
    m

    Marc Knaup

    3 years ago
    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
    Note that for debug and release Kotlin multiplatform creates different binaries.
    k

    Kruger Brent

    3 years ago
    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

    3 years ago
    You can provide Pod dependencies in the CocoaPods Gradle plugin. I don't know its limitations though.