【问题标题】:Unity iOS Build - Wrong XCode Installation, Incorrect Clang VersionUnity iOS 构建 - XCode 安装错误,Clang 版本不正确
【发布时间】:2023-01-20 14:07:33
【问题描述】:

为 iOS 构建 Unity 2022.1 项目时出现以下错误:

Burst.Compiler.IL.Aot.AotLinkerException: XCode installation version is less than required. 
Clang version is 11.0.0 and 12.0.0 is the minimum required

这很奇怪,因为我刚刚将 XCode 更新为 14.2,它显然使用了 Clang 14。

【问题讨论】:

    标签: ios xcode unity3d clang


    【解决方案1】:

    好的,事实证明它指向某个旧版本。我可能以前用 brew 安装它,但现在它只在应用程序商店上架。我能够通过在终端中输入以下内容来修复它:

    sudo xcode-select --switch /Applications/Xcode.app
    

    【讨论】:

      猜你喜欢
      • 2013-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多