CocoaPods arm64 问题 [英] CocoaPods arm64 issue
问题描述
在使用 Podfile 使用 Xcode5 开发 iOS 7 应用程序时,我们总是遇到这个问题.
经过一番搜索,似乎没有来自 CocoaPods 的最终解决方案?也许你看到这个的时候就解决了.
现在如何解决此类问题?
问题是:Pods 被拒绝作为libPods.a"的隐式依赖项,因为其架构armv7 armv7s"不包含所有必需的架构armv7 armv7s arm64"
- 选择
Pods
项目 - 将
Build Active Architecture Only
从Yes
更改为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'
- Select the
Pods
project - Change
Build Active Architecture Only
fromYes
toNo
.
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屋!