android - KMM Kotlin 多平台移动错误 : Could not detect version of installed Xcode

标签 android xcode android-studio kmm

我打算在我的机器上尝试 KMM。

当我尝试在 Android 上运行初始化应用程序“Hello World”时,一切正常。但是当我在 iOS 上运行它时,出现了问题。

在安装 Android Studio 之前,我在计算机上安装了 Xcode 13.1 版。

我在互联网上找不到任何答案。

我尝试重新安装 Android Studio,但没有任何反应

pic

最佳答案

尝试输入

xcode-select -p

在您的终端上。

确保您的终端回复

/Applications/Xcode.app/Contents/Developer

如果不是,你必须改变它, 在您的终端上输入此内容

xcode-select -s /Applications/Xcode.app/Contents/Developer

就是这样。

关于android - KMM Kotlin 多平台移动错误 : Could not detect version of installed Xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69733017/

相关文章:

xcode - UICollectionViewCell 快速选择多个单元格

ios - 从uitableviewcell调用并使用uitableview?

ios - SKEmitterNode的粒子生命周期到底是什么?

java - 无法在 Android Studio 中构建项目

java - 提示和用户输入叠加在 TextView 中

android安排任务每天在特定时间执行

android - 如何在我的 eclipse 项目中包含 jar 文件

Android指南针噪声算法

Android Cmake 编译器正在生成带有符号额外前缀和后缀的 .out 文件

java - 尝试将从图形 API 调用的字符串放入数据库 sq-lite,但数据库中的值为 null