CocoaPods arm64问题

编程入门 行业动态 更新时间:2024-10-28 12:21:44
本文介绍了CocoaPods arm64问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当使用Podfile使用Xcode5开发iOS 7应用程序时,我们总是遇到这个问题。

经过一番搜索,似乎CocoaPods没有最终解决方案?当你看到这个时,也许就解决了。

如何立即解决此类问题?

问题是: Pods被拒绝为'libPods.a'的隐式依赖,因为它的架构'armv7 armv7s'不包含所有必需的架构'armv7 armv7s arm64'

解决方案

  • 选择 Pods 项目
  • 更改仅构建活动架构从是到否。
  • 这对我有用。

    注意:

    When using Podfile for developing iOS 7 app with Xcode5, we always got this issue.

    After some searching, seems like no final resolve from CocoaPods ? Maybe resolved at this moment when you see this.

    How to resolve such issues right now ?

    The issue was: Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64'

    解决方案

  • Select the Pods project
  • Change Build Active Architecture Only from Yes to No.
  • That worked for me.

    Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting in your Xcode project, rather than changing the Pod's Build Active Architecture Only. As long as they match it seems to fix the problem.

    更多推荐

    CocoaPods arm64问题

    本文发布于:2023-11-15 15:09:00,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1595539.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:CocoaPods

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!