CocoaPods arm64问题 [英] CocoaPods arm64 issue

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

问题描述

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



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



如何立即解决此类问题?



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

解决方案


  1. 选择 Pods 项目

  2. 更改仅构建活动架构

这对我有用。



注意:


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天全站免登陆