gpt4 book ai didi

ios - Xcode 12 - 没有要编译的架构(ONLY_ACTIVE_ARCH=YES,active arch=x86_64,VALID_ARCHS=arm64e armv7s arm64 arm7)

转载 作者:行者123 更新时间:2023-12-01 21:18:09 36 4
gpt4 key购买 nike

由于我将 Xcode 更新为 Xcode 12,因此在构建时出现此错误:

Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64e armv7s arm64 arm7)
我尝试了很多东西:
  • 通过 pod install 卸载/重新安装 Pod
  • Build Active Architecture Only没有 或至用于调试和发布
  • Pods 项目也是如此

  • 不知道该怎么办。当我想在 iOS 14 上启动时会出现此错误,但在 iOS 13.7 中,它可以完美运行而无需更改。
    -- 编辑 --
    我通过添加 arm64 arm64e armv7 armv7s x86_64 来解决我的问题至 VALID_ARCHS ,在“MyProject”和“MyProjectTest”中,现在都可以使用。

    最佳答案

    如果在 BuildSettings 中看不到“VALID_ARCHS”。
    您可以单击加号按钮。
    enter image description here
    单击“添加用户定义的设置”
    enter image description here
    输入设置名称“VALID_ARCHS”,输入值“arm64 arm64e armv7 armv7s x86_64”
    enter image description here
    enter image description here

    关于ios - Xcode 12 - 没有要编译的架构(ONLY_ACTIVE_ARCH=YES,active arch=x86_64,VALID_ARCHS=arm64e armv7s arm64 arm7),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63988011/

    36 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com