[英]Can't debug iOS application in Kotlin multiplatform project
I am developing an application using Kotlin Native for Android and iOS.我正在使用 Kotlin Native 为 Android 和 iOS 开发应用程序。 I am using the Kotlin Multiplatform Android studio plugin.
我正在使用 Kotlin 多平台 Android 工作室插件。 If I run the application on Android it works fine.
如果我在 Android 上运行应用程序,它工作正常。 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.
如果我在 iOS 上运行它,应用程序正在运行,但我的 observable 没有返回任何内容并且我看不到日志,我需要调试。
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
Can someone help me please?有人能帮助我吗? I will be infinitely grateful.
我将无限感激。
Thank you谢谢
I am developing an application using Kotlin Native for Android and iOS.我正在使用 Kotlin Native 为 Android 和 iOS 开发应用程序。 I am using the Kotlin Multiplatform Android studio plugin.
我正在使用 Kotlin 多平台 Android 工作室插件。 If I run the application on Android it works fine.
如果我在 Android 上运行应用程序,它工作正常。 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.
如果我在 iOS 上运行它,应用程序正在运行,但我的 observable 没有返回任何内容并且我看不到日志,我需要调试。
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
Can someone help me please?有人能帮助我吗? I will be infinitely grateful.
我将无限感激。
Thank you谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.