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

Nikolai

06/27/2019, 12:06 PM
Hi, everyone Is it possible to use cocoapods in multiplatform projects? And if yes can someone provide an example? I saw some examples added some lines to build.gradle and managed to build it. But I can’t import it in iOS part of common module.
k

Kris Wong

06/27/2019, 1:05 PM
you can only build the iOS target from Xcode in that case, is my understanding
"Search paths for libraries added in the Kotlin/Native module in this way are obtained from properties of the Xcode projects configured by CocoaPods. Thus if the module uses CocoaPods libraries, it can be build only from Xcode."
n

Nikolai

06/27/2019, 2:08 PM
@Kris Wong thanks
2 Views