touchlab / SKIE

SKIE - Swift Kotlin Interface Enhancer
https://skie.touchlab.co/
Apache License 2.0
721 stars 8 forks source link

Xcode build errors when Default Arguments are enabled. #111

Open Bradleycorn opened 3 weeks ago

Bradleycorn commented 3 weeks ago

I have a basic KMP application (created in Android Studio Koala). I am using SKIE, and have the Default Arguments feature enabled.

I am using the following library versions:

[versions]
agp = "8.5.2"
kotlin = "2.0.20"
touchlab-skie = "0.9.0-RC.3"
ktor = "3.0.0-beta-2"
ksp = "2.0.20-1.0.24"

Occasionally, when building the iOS app, the build will fail with many errors related to Skie_DefaultArguments (see screenshot below). It doesn't happen all the time, and I can't pinpoint any one way to consistently reproduce it. When it does happen, I can fix it by disabling the default arguments feature, doing a build (which will fail since I have code that is relying on default arguments), and then re-enabling the default arguments feature.

Screenshot 2024-09-13 at 11 12 14 AM
TadeasKriz commented 3 weeks ago

Hi @Bradleycorn, could you show your SKIE Gradle configuration?