【问题标题】:KMM Kotlin Multiplatform Mobile Error: Could not detect version of installed XcodeKMM Kotlin Multiplatform Mobile 错误:无法检测已安装 Xcode 的版本
【发布时间】:2021-12-12 09:53:15
【问题描述】:

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

当我尝试在 android 上运行初始化应用程序“Hello World”时,这很好。但是当我在 iOS 上运行它时,出现了问题。

在我安装 Android Studio 之前,我在我的机器上安装了 Xcode 13.1。

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

我尝试重新安装我的 Android Studio,但它什么也没做

【问题讨论】:

    标签: android xcode android-studio kmm


    【解决方案1】:

    试着输入

    xcode-select -p
    

    在您的终端上。

    确保您的终端回复

    /Applications/Xcode.app/Contents/Developer
    

    如果不是,你必须改变它, 在你的终端上输入这个

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

    就是这样。

    【讨论】:

      猜你喜欢
      • 2021-03-29
      • 2023-01-30
      • 2020-11-27
      • 2011-06-21
      • 1970-01-01
      • 1970-01-01
      • 2023-02-03
      • 2022-12-30
      • 1970-01-01
      相关资源
      最近更新 更多