简体   繁体   中英

Can't debug iOS application in Kotlin multiplatform project

I am developing an application using Kotlin Native for Android and iOS. I am using the Kotlin Multiplatform Android studio plugin. If I run the application on Android it works fine. If I run it on iOS, the app running, but my observable doesn't return anything and I can't see log, I need to debug.

I need to debug the shared code and I have read that it is possible to do it, but after doing build successful I get the following error:

Error running 'iosApp': Could not initialize class com.jetbrains.cidr.execution.debugger.CidrDebuggerLanguageSupportManager

在此处输入图像描述

在此处输入图像描述 I'm using:

  • 1.4.10 Kotlin version
  • 6.7.1 Gradle version

Can someone help me please? I will be infinitely grateful.

Thank you

I am developing an application using Kotlin Native for Android and iOS. I am using the Kotlin Multiplatform Android studio plugin. If I run the application on Android it works fine. If I run it on iOS, the app running, but my observable doesn't return anything and I can't see log, I need to debug.

I need to debug the shared code and I have read that it is possible to do it, but after doing build successful I get the following error:

Error running 'iosApp': Could not initialize class com.jetbrains.cidr.execution.debugger.CidrDebuggerLanguageSupportManager

在此处输入图像描述

在此处输入图像描述 I'm using:

  • 1.4.10 Kotlin version
  • 6.7.1 Gradle version

Can someone help me please? I will be infinitely grateful.

Thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM