Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode build errors when Default Arguments are enabled. #111

Open
Bradleycorn opened this issue Sep 13, 2024 · 2 comments
Open

Xcode build errors when Default Arguments are enabled. #111

Bradleycorn opened this issue Sep 13, 2024 · 2 comments

Comments

@Bradleycorn
Copy link

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
Copy link
Collaborator

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

@Bradleycorn
Copy link
Author

@TadeasKriz we chatted about this issue on slack awhile back. I was curious if any progress has been made on this issue? I'm using SKIE 0.10.0 and we still run into the problem occassionally. I MAY have narrowed it down a little bit. I think it maybe happens anytime we add a new (public) method that has default arguments. I haven't been able to confirm that 100% though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants