Paul Davies
11/05/2021, 3:30 PMval iosTarget: (String, KotlinNativeTarget.() -> Unit) -> KotlinNativeTarget =
if (System.getenv("SDK_NAME")?.startsWith("iphoneos") == true)
::iosArm64
else
::iosX64
iosTarget("ios") {}
to the newer shortcut (which we need to use on our Apple M1 machines)
ios()
Since I’ve done this, I’m getting red import errors in Android Studio (Arctic Fox | 2020.3.1 Patch 3, KMM Plugin ) when trying to import iOS platform frameworks.
Have I missed something in configuration? 1.5.31 has the same issue fwiwrusshwolf
11/05/2021, 3:31 PMkotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
Paul Davies
11/05/2021, 3:33 PMitnoles
11/05/2021, 4:08 PM