Bradleycorn
09/09/2024, 3:55 PM0.9.0-RC3
with Kotlin 2.0.20) in a fairly basic kmp app. I have resolved it, but wanted to post here in case it's a bigger issue.
I have default arguments enabled:
DefaultArgumentInterop.Enabled(true)
Everything has been working fine for several days.
Today, I made a small change in the kotlin code, editing a string literal.
Then, when I went to build my iOS app, I got 51 errors related to Skie Default Arguments. It was basically the same error that was reported here:
https://github.com/touchlab/SKIE/issues/88 (this defect was fixed in 0.8.3)
I tried the usual things ... cleaned my build folder, cleared Xcode's derived data folder for the project, restarted Xcode, etc etc.
But the issue persisted ...
I finally was able to resolve it by doing the following:
1. Remove the DefaultArgumentInterop.Enabled(true)
from my shared module config
2. Update all of my swift code to provide all of the (now missing) arguments (luckily, this is a tiny project, so it was only a few places to touch).
3. Build my ios app... success.
4. Re-enable Default Arguments in my shared module config.
5. Undo the changes in my swift code.
6. Build my ios app again .. success!Filip Dolník
09/09/2024, 5:50 PMBradleycorn
09/09/2024, 6:18 PMFilip Dolník
09/09/2024, 6:20 PMBradleycorn
09/09/2024, 6:21 PMBradleycorn
09/09/2024, 6:26 PMFilip Dolník
09/09/2024, 6:27 PMBradleycorn
09/09/2024, 6:37 PMBradleycorn
09/09/2024, 6:38 PMBradleycorn
09/09/2024, 6:41 PMBradleycorn
09/13/2024, 5:27 PMFilip Dolník
09/13/2024, 5:28 PMBradleycorn
09/13/2024, 5:28 PMBradleycorn
09/13/2024, 5:53 PMFilip Dolník
09/13/2024, 6:16 PMTadeas Kriz
09/24/2024, 4:06 PMBradleycorn
09/24/2024, 6:45 PMBradleycorn
01/17/2025, 2:58 PM0.10.0
),