CocoaPods arm64 问题 [英] CocoaPods arm64 issue

查看:47
本文介绍了CocoaPods arm64 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

现在如何解决此类问题?

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

解决方案

  1. 选择Pods 项目
  2. Build Active Architecture OnlyYes 更改为 No.

这对我有用.

注意:

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'

解决方案

  1. Select the Pods project
  2. 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 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆