Goku
02/05/2021, 10:54 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.Kathrin Petrova
02/05/2021, 12:34 PMGoku
02/05/2021, 12:35 PMKris Wong
02/05/2021, 2:11 PMKris Wong
02/05/2021, 2:12 PM