icerockdev / moko-kswift

Swift-friendly api generator for Kotlin/Native frameworks
https://moko.icerock.dev
Apache License 2.0
348 stars 21 forks source link

Kotlin 2.0 on link step crash #96

Open ExNDY opened 1 month ago

ExNDY commented 1 month ago

When i'm try run ios app i'm get crash with this error:

> Task :mpp-library:linkPodDebugFrameworkIosSimulatorArm64
warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: MultiPlatformLibrary. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
w: KLIB resolver: Skipping '/Users/exndy/.gradle/caches/modules-2/files-2.1/org.jetbrains.skiko/skiko-iossimulatorarm64/0.8.4/15291c09538e8f22b232a76062b16a88afe161c8/skiko-cinterop-uikit.klib'. The library requires unknown IR provider: kotlin.native.cinterop
e: KLIB resolver: Could not find "/Users/exndy/.gradle/caches/modules-2/files-2.1/org.jetbrains.skiko/skiko-iossimulatorarm64/0.8.4/15291c09538e8f22b232a76062b16a88afe161c8/skiko-cinterop-uikit.klib" in [/Users/exndy/Documents/Projects/KMM/friday/ios-app/Pods]

For fix, i need disable kswift plugin in my project

mr-kew commented 1 month ago

I am actually getting this error already when running ./gradlew kSwiftsharedPodspec.

Edit:

@ExNDY What do you mean by disabling the kswift plugin? Does that effectively mean the library is unusable or did you manage to solve it?

ExNDY commented 3 weeks ago

For my project doesn't need more kswift. This issue create for report problem.