❓ When we bumped to Kotlin 1.5.30, I changed our iPhone build targets from the “older”
Copy code
val 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)
Copy code
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 fwiw