Goku
02/05/2021, 11:07 AMbuild.gradle.kts
file:
version = "1.0-SNAPSHOT"
kotlin {
android()
ios()
cocoapods {
frameworkName = "shared"
ios.deploymentTarget = "13.0"
summary = "CocoaPods Test Library"
homepage = "<https://github.com/JetBrains/kotlin>"
pod("AFNetworking") {
version = "~> 4.0.1"
}
pod("PromisesSwift") {
moduleName = "Promises"
}
}
...
And the project builds, the pods are available in both Kotlin code and Swift (I’ve included a path to podspec file)
but the module (AFNetworking in this case) isn’t seen, yet it works.
Posted in #multiplatform