SKIE
SKIE copied to clipboard
Don't work on WatchOS on Xcode 15 (invalid framework for arm64 + arm64_32)
Questions:
What is the problem?
The generated code is incorrect.
When building for arm64
and arm64_32
architecture watchos together, swift code is generated only for arm64
.
When build project in Xcode, many errors not found functions and types generated on swift by skie.
Example configuration:
kotlin {
watchosX64()
watchosSimulatorArm64()
watchosDeviceArm64() // arm64
watchosArm64() // arm64_32 - this problem when contains also watchosDeviceArm64
}
Now Xcode 15 required arm64 and arm64_32 for any watchos app on any device.
When does the problem occur?
- During Kotlin Framework compilation (inside the link task that produces the framework)
- During Swift compilation (when trying to use the generated Kotlin Framework)
What versions of SKIE, Kotlin, and Gradle do you use?
Kotlin: 1.9.23 SKIE: 0.6.4
What is your SKIE Gradle configuration?
skie {
analytics {
disableUpload.set(true)
}
}
Hi @ProVir, thanks for the report, we'll look into it. It's possible watchOS fat frameworks are handled differently by Kotlin Gradle plugin since iOS fat frameworks work.
It seems that I accidentally fixed the issue in 0.7.1, so please try updating to 0.7.1 or newer (the newest version is currently 0.8.1).