Kotlin Multiplatform Mobile - 从 Android Studio 运行 ios 应用程序时出现问题 [英] Kotlin Multiplatform Mobile - Issue while running ios app from Android studio

查看:39
本文介绍了Kotlin Multiplatform Mobile - 从 Android Studio 运行 ios 应用程序时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在探索 KMM,我已经在 Android Studio 中完成了设置.我可以完美地运行 Android 应用程序,但是当我尝试运行 ios 应用程序时,遇到了配置设置问题.Xcode 项目方案下拉列表为空.我附上了截图供参考.

I'm exploring KMM, I have done with the setup in Android Studio. I could able to run the Android app perfectly, but when I try to run the ios app, facing an issue in configuration setup. Xcode project scheme Dropdown is empty. I have attached a screenshot for reference.

  • Android Studio v4.1.2
  • Xcode 11.4
  • Mac 操作系统 10.15.4
  • Kotlin 插件版本1.4.20.

注意:

  • 我尝试指定 Xcode 项目位置.但没有运气.
  • 但是当我直接从 Xcode 启动 ios 应用程序时,该应用程序运行良好.

推荐答案

对于你的 Kotlin 版本,KMM 插件版本应该是 0.2.0 符合这个发布页面 https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.

For your Kotlin version, the KMM plugin version should be 0.2.0 in accord with this release page https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.

我使用 Kotlin v1.5.0 e KMM v0.2.4 解决了.

I solved using Kotlin v1.5.0 e KMM v0.2.4.

这篇关于Kotlin Multiplatform Mobile - 从 Android Studio 运行 ios 应用程序时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆