Skip to content

Kotlin 2.3.0 & Native Swift Export lead to conflicting overload #463

@JohannesPtaszyk

Description

@JohannesPtaszyk

After updating our project to Kotlin 2.3.0 we are facing an issue with conflicting overloads in Kermit.

> Task :axolotl-ios-sdk:compileSwiftExportMainKotlinIosSimulatorArm64 FAILED
e: file:///Users/johannes.ptaszyk/Development/axolotl-kmp-tracking/axolotl-ios-sdk/build/SwiftExport/iosSimulatorArm64/Debug/files/CoTouchlabKermit/CoTouchlabKermit.kt:83:8 Conflicting overloads:
fun co_touchlab_kermit_Logger_Companion_setLogWriters__TypesOfArguments__Swift_Array_ExportedKotlinPackages_co_touchlab_kermit_LogWriter___(self: NativePtr, logWriter: NativePtr): Unit
e: file:///Users/johannes.ptaszyk/Development/axolotl-kmp-tracking/axolotl-ios-sdk/build/SwiftExport/iosSimulatorArm64/Debug/files/CoTouchlabKermit/CoTouchlabKermit.kt:90:8 Conflicting overloads:
fun co_touchlab_kermit_Logger_Companion_setLogWriters__TypesOfArguments__Swift_Array_ExportedKotlinPackages_co_touchlab_kermit_LogWriter___(self: NativePtr, logWriters: NativePtr): Unit

We are currently using native swift export and Kermit version 2.0.8.
If you need more information, please let me know :)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions