Tal Zion
03/18/2025, 10:08 PMkotlin = "2.1.0"
skie = "0.10.0"
agp = "8.8.0"
ktor = "3.0.1"
gradle-8.10.2
Xcode 16.0
Android Studio Meerkat | 2024.3.1
Error:
The following build commands failed:
SwiftCompile normal arm64 Compiling\ ContentView.swift /Users/user/Development/MoviesKMP/iosApp/iosApp/ContentView.swift (in target 'iosApp' from project 'iosApp')
SwiftCompile normal arm64 /Users/user/Development/MoviesKMP/iosApp/iosApp/ContentView.swift (in target 'iosApp' from project 'iosApp')
Building project iosApp with scheme iosApp and configuration Debug
(3 failures)
The compile issue is it cannot find the import shared
framework.
I think I have a compatibility issue. Any help is highly appreciatedTheArchitect123
03/18/2025, 10:51 PMAlejandro Rios
03/19/2025, 1:41 AM0.10.1
for that Kotlin versionAlex Apriamashvili
03/19/2025, 4:40 AMShared
shall be capitalized. You can get the correct module name from your shared
gradle build file (shared/build.gradle.kts
).
See the attached imageTal Zion
03/19/2025, 7:34 AM0.10.1
. I think I tried it before but it did not work. Not sure if this is due to Kotlin
version.
The SKIE compatibility on the website does mention up to 2.0.10
SKIE is currently compatible with Kotlin versions from 1.8.0 up to 2.0.10.
Tal Zion
03/19/2025, 7:35 AMbaseName
is shared
Do I need to change it to Shared
?
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
isStatic = true
}
}
Tal Zion
03/19/2025, 7:39 AM./gradlew compileKotlinIosArm64 --info
and it passes with no isses. See screenshot. 🤔
But still when I execute iOS it fails with the same error I sentAlex Apriamashvili
03/19/2025, 7:56 AMFRAMEWORK_SEARCH_PATHS
in your build settings.
It should be:
$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)
Alex Apriamashvili
03/19/2025, 9:43 AMTal Zion
03/19/2025, 9:54 AMmacOS 15.0.1
Xcode 16
kotlin = "2.1.0"
(comes wit the template and from the docs SKIE only supports up to kotlin 2.0.10
)
`SKIE = 0.10.1`When I add SKIE it stopped compiling
I see the wizard template was updated in the last couple of weeks
I'll give it a try with a new setup and see if it workstouchlab_justin
03/19/2025, 1:03 PMTal Zion
03/19/2025, 1:58 PM