I'm having trouble running a Kotlin Multiplatform ...
# multiplatform
s
I'm having trouble running a Kotlin Multiplatform + Compose Multiplatform iOS app from Android Studio on an Intel MacBook Pro (2019). Environment • Intel MacBook Pro 2019 (x86_64) • Android Studio • Xcode 26 • Kotlin Multiplatform • Compose Multiplatform 1.11.1 • Navigation3 1.1.0 / 1.1.1 • Lifecycle Compose 2.11.0-beta01 Initial Problem When running the iOS app I got:
Copy code
Execution failed for task ':shared:validateArchitecturesForEmbedAndSignAppleFrameworkForXcode'

Xcode requested target architectures that are not configured in your Gradle build: ios_x64
and
Copy code
Unknown iOS simulator arch: 'x86_64'
At the time my KMP targets were:
Copy code
listOf(
    iosArm64(),
    iosSimulatorArm64()
).forEach { iosTarget ->
    iosTarget.binaries.framework {
        baseName = "Shared"
        isStatic = true
    }
}
What I Tried I added `iosX64()`:
Copy code
listOf(
    iosX64(),
    iosArm64(),
    iosSimulatorArm64()
).forEach { iosTarget ->
    iosTarget.binaries.framework {
        baseName = "Shared"
        isStatic = true
    }
}
After that, the architecture error disappeared but dependency resolution started failing. Current Error
Copy code
KMP Dependencies Resolution Failure

Source set 'appleMain' couldn't resolve dependencies for all target platforms
Examples:
Copy code
Couldn't resolve dependency
'org.jetbrains.compose.runtime:runtime:1.11.1'

The dependency should target platforms:
[iosArm64, iosX64]

Unresolved platforms:
[iosX64]
Similar errors occur for: • compose-runtime • compose-foundation • compose-ui • compose-resources • navigation3-runtime • navigation3-ui • lifecycle-viewmodel-compose • lifecycle-runtime-compose • savedstate-compose The detailed error shows Gradle trying to resolve:
Copy code
org.jetbrains.kotlin.native.target = ios_x64
but failing to find a matching variant. Question For an Intel Mac in 2026: 1. What is the recommended iOS target configuration? 2. Should I be using:
iosX64() + iosArm64()
iosX64() + iosArm64() + iosSimulatorArm64()
something else? 3. Has anyone successfully used Compose Multiplatform 1.11.x on an Intel Mac recently? 4. Is this a Kotlin/Compose dependency publication issue, a source set hierarchy issue, or an Xcode 26 compatibility issue? Any guidance would be appreciated. I can also share my full
shared/build.gradle.kts
if needed.
c
Most probably you will not be able to use a Intel Mac any more as the x64 targets were removed in 1.11 https://kotlinlang.org/docs/multiplatform/whats-new-compose-111.html#changes-to-ios-target-support
208 Views