我打算在我的机器上尝试 KMM。
当我尝试在 Android 上运行初始化应用程序“Hello World”时,一切正常。但是当我在 iOS 上运行它时,出现了问题。
在安装 Android Studio 之前,我在计算机上安装了 Xcode 13.1 版。
我在互联网上找不到任何答案。
我尝试重新安装 Android Studio,但没有任何反应
最佳答案
尝试输入
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/