Sultan
06/14/2026, 10:06 AMExecution failed for task ':shared:validateArchitecturesForEmbedAndSignAppleFrameworkForXcode'
Xcode requested target architectures that are not configured in your Gradle build: ios_x64
and
Unknown iOS simulator arch: 'x86_64'
At the time my KMP targets were:
listOf(
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "Shared"
isStatic = true
}
}
What I Tried
I added `iosX64()`:
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
KMP Dependencies Resolution Failure
Source set 'appleMain' couldn't resolve dependencies for all target platforms
Examples:
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:
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.Chrimaeon
06/14/2026, 1:05 PM