Hyun
09/05/2020, 2:43 AMHyun
09/05/2020, 2:43 AMHyun
09/05/2020, 2:45 AMcocoapods {
summary = "d"
homepage = "d"
pod("ios_library", "0.0.1", project.file("../ios_library/ios_library.podspec"))
}
multiplatform module’s build.gradle
cocoapods {
summary = "Sample"
homepage = "sample"
podfile = project.file("../kotlinIOS/Podfile")
}
Ian Arbuckle
09/05/2020, 11:59 AMnot found for architecture x86_64
Ian Arbuckle
09/05/2020, 12:00 PMIan Arbuckle
09/05/2020, 12:00 PMtargets {
val sdkName: String? = System.getenv("SDK_NAME")
val iOSDevice = sdkName.orEmpty().startsWith("iphoneos")
if (iOSDevice) {
iosArm64("iOS64")
} else {
iosX64("iOS")
}
macosX64("macOS")
android()
}
Hyun
09/05/2020, 1:24 PMiosX64
and iosArm64
both.
ios()
Ian Arbuckle
09/05/2020, 1:35 PMios()
is currently not working with gradle plugin. https://github.com/touchlab/KaMPKit/blob/master/shared/build.gradle.ktsHyun
09/05/2020, 11:28 PMco.touchlab.native.cocoapods
provide extended functions which I need.
Thanks for sharing good sample code.🙏🙏