美文网首页
Mac M1芯片报错libPods-xxx.a' is miss

Mac M1芯片报错libPods-xxx.a' is miss

作者: 独孤流 | 来源:发表于2022-03-29 13:37 被阅读0次

    前言
    在一台旧电脑上能正常打开Xcode使用模拟器调试,但在一台新的Mac M1芯片的电脑上就一致运行不起来,报错提示The linked library 'libPods-xxx.a' is missing one or more architectures required by this target: x86_64

    参考:
    1、Apple Silicon M1 - The linked library 'libPods-ProjectName.a' is missing one or more architectures required by this target: x86_64
    2、If you need to install Rosetta on your Mac
    如果您需要在 Mac 上安装 Rosetta
    入手 M1 Mac 之前,你需要了解的Apple Silicon M1原生应用和Rosetta2

    解决方案:
    一、运行命令安装rosetta
    softwareupdate --install-rosetta

    二、配置xcode使用rosetta
    应用程序->Xcode->显示简介->勾选Open using Rosetta

    image.png

    相关文章

      网友评论

          本文标题:Mac M1芯片报错libPods-xxx.a' is miss

          本文链接:https://www.haomeiwen.com/subject/rzbvjrtx.html