【问题标题】:Xcode 12 Beta 2 - unable to load standard library for target 'arm64-apple-ios14.0-simulator'Xcode 12 Beta 2 - 无法为目标“arm64-apple-ios14.0-simulator”加载标准库
【发布时间】:2020-07-22 07:35:07
【问题描述】:

我刚刚安装了 Xcode 12 Beta 2。每次构建或运行它都会产生以下错误:

无法为目标“arm64-apple-ios14.0-simulator”加载标准库

知道为什么会这样以及我需要做什么吗?

【问题讨论】:

    标签: xcode xcode12


    【解决方案1】:

    VALID_ARCHS 在 Xcode 12 中已被弃用,因此,只需从您的项目和目标构建设置中删除引用即可:

    1. 您的项目设置 > 构建设置 > VALID_ARCHS
    2. YourProject 设置 > TARGETS > YourProject > 构建设置 > VALID_ARCHS
    3. YourProject 设置 > TARGETS > UITests > 构建设置 > VALID_ARCHS
    4. YourProject 设置 > 目标 > 单元测试 > 构建设置 > VALID_ARCHS

    Image of what VALID_ARCHS should look like

    突出显示行并按“删除”键

    【讨论】:

      猜你喜欢
      • 2019-01-04
      • 2022-01-25
      • 2015-11-16
      • 1970-01-01
      • 1970-01-01
      • 2021-04-10
      • 2020-01-24
      • 2020-06-11
      • 1970-01-01
      相关资源
      最近更新 更多