tylerwilson
06/14/2021, 3:48 PMThomas
06/14/2021, 4:33 PMtylerwilson
06/14/2021, 4:37 PMval buildForWatchARM = project.findProperty("kotlin.native.cocoapods.target") == "watchos_arm"
if (buildForWatchARM) {
watchosArm32("watchos32")
watchosArm64("watchos64")
val watchosMain = sourceSets.maybeCreate("watchosMain")
sourceSets["watchos64Main"].dependsOn(watchosMain)
sourceSets["watchos32Main"].dependsOn(watchosMain)
} else {
watchosX64("watchos") // simulator
}
and then a section like so:
val watchosMain by getting {
dependencies {
implementation("io.ktor:ktor-client-ios:$ktorVersion")
}
}
but when I try to build the framework within AS, I get errors like so:
Could not resolve io.ktor:ktor-client-core:1.6.0.
...
No matching variant of io.ktor:ktor-client-core:1.6.0 was found.
Thomas
06/14/2021, 4:50 PMwatchosX64
target is not supported yet in KtorwatchosX86
for simulatortylerwilson
06/14/2021, 4:50 PMThomas
06/14/2021, 4:54 PMtylerwilson
06/14/2021, 4:55 PMThomas
06/14/2021, 6:55 PMtylerwilson
06/14/2021, 8:15 PMThomas
06/15/2021, 12:33 AMtylerwilson
06/15/2021, 2:23 AM