Brendan Weinstein
04/13/2020, 3:29 AMcinterop
to manually wire objc/swift dependencies into iosMain or have folks managed to get the cocoapods plugin to smoothly do this by declaring a pod?Kurt Renzo Acosta
04/13/2020, 3:54 AMAWSS3
and some Firebase libraries. Some don't work though like AWSCore
. There's an issue if you wanna look at it.Brendan Weinstein
04/13/2020, 4:06 AMinterop
tasks for each pod I list in the cocoapods
block (Ios
,Iosx64
, IosArm32
, IosArm64
), I install the pods with pod install
, and when I try to run any of the interop tasks I get the error cannot determine headers location
cocoapods.AFNetworking
but I am still not seeing it show up without red in either iosMain or iosX64Kurt Renzo Acosta
04/13/2020, 4:17 AMBrendan Weinstein
04/13/2020, 4:19 AMval iosArm32 = iosArm32("iosArm32")
val iosArm64 = iosArm64("iosArm64")
val iosX64 = iosX64("iosX64")
if (ideaActive) {
iosX64("ios")
}
sourceSets {
val iosMain = if (ideaActive) {
getByName("iosMain")
} else {
create("iosMain")
}
val iosArm32Main by getting
val iosArm64Main by getting
val iosX64Main by getting
configure(listOf(iosArm32Main, iosArm64Main, iosX64Main)) {
dependsOn(iosMain)
}
}