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

Patrick Jackson

04/05/2019, 2:02 PM
Is it currently possible to consume a cocoapod in a Kotlin MPP shared module? I see this plugin(https://github.com/JetBrains/kotlin-native/blob/master/COCOAPODS.md). Is that the best option currently? Use case being creating a library that uses a cocoapod dependency for iOS implementation.
🌟 1
👍 1
k

Kris Wong

04/05/2019, 2:07 PM
hand't seen that yet, that's awesome
i'll definitely be using that
p

Patrick Jackson

04/05/2019, 2:08 PM
I just started looking. Having trouble pulling the plugin. not sure what repo needs to be added to the buildscript.
k

Kris Wong

04/05/2019, 2:12 PM
there should be an eap repo. i am not familiar with how to find it since I have only used release versions
p

Patrick Jackson

04/05/2019, 2:24 PM
thank you
ran into some conflicts after updating and I'm unable to compile. Having issues with some of the MPP deps I am using including ktor.
s

svyatoslav.scherbina

04/05/2019, 2:34 PM
Use case being creating a library that uses a cocoapod dependency for iOS implementation.
This is not supported in the plugin yet.
l

louiscad

04/05/2019, 2:41 PM
@svyatoslav.scherbina Is there an issue regarding that we can follow?
s

svyatoslav.scherbina

04/05/2019, 2:43 PM
No, feel free to create one.
p

Patrick Jackson

04/05/2019, 2:44 PM
I think this will be a big one for enabling the ecosystem
k

Kris Wong

04/05/2019, 2:46 PM
the linked page seems to indicate it's supported
under Interoperability
l

louiscad

04/05/2019, 2:50 PM
@Patrick Jackson Would you create that issue on kotl.in/issue?
p

Patrick Jackson

04/05/2019, 2:51 PM
sure thing
3 Views