Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn
来源:互联网 发布:linux 开机启动服务器 编辑:程序博客网 时间:2024/06/06 02:47
引入cocoaPods后,第一次编译,或者执行update后 可能报这个错误:
Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn't contain all required architectures 'i386'
查了些资料,在网上有一种解决方法是去设置pod工程的 valid Architectures 与你的项目工程的 valid Architectures 一致
试了试没有成功,
经过尝试最后找了解决方案:具体的解决方案如下图:
确保3的地方设置为最新的sdk,确保4的地方设置和工程设置一样
更新:再次遇到这个问题,按照上面方法无法解决,请尝试以下解决方法:
A friend updated Cocoapods in our project. When I pulled the latest stuff from git I got the following error:
Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn't contain all required architectures 'i386'
This results in
ld: library not found for -lPods-___PODLIBRARY____clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have searched around for hours now trying to find it. The most common fixes I've tried are..
- Deleted derived data
- Delete build data
- Delete pods, and reinstalled with 'pod install'
- Clean project
- All of the above at the same time
- Experimented with 'Build Active Architecture Only', both in our project and in Pod Project. Inserted armv7 and armv7s as hard code instead of $ variable
- Experimented with 'Architectures', both in our project and in Pod Project. Inserted armv7 and armv7s as hard code instead of $ variable
We are aiming for iOS 8, iPhones.
My friend got it to work by combining the first 4 options, but I cannot.
Does anyone have any suggestions? We're supposed to release before christmas so production time is precious :D
参考地址:http://stackoverflow.com/questions/27388957/pods-was-rejected-as-an-implicit-dependency-for-libpods-a-because-its-architec
- Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn'
- Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn
- Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn'
- X-code Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7'
- Target 'Pods' of project 'Pods' was rejected as an implicit dependency for 'libPods.a' because its a
- pods was rejected as an implicit dependency
- because its architectures 'arm64' didn't contain all required architectures 'armv7 arm64'
- org.apache.commons.fileupload.FileUploadBase$UnknownSizeException: the request was rejected because its size is unknown
- struts2出现 the request was rejected because its size (XXXX) exceeds the configured maximum (XXXX)
- the request was rejected because its size (4652587) exceeds the configured maximum (2097152)
- the request was rejected because its size (***) exceeds the configured maximum (2097152) 上传不成功
- Struts中the request was rejected because its size (***) exceeds the configured ma
- Struts中the request was rejected because its size (***) exceeds the configured ma
- struts2出现 the request was rejected because its size (XXXX) exceeds the configured maximum (XXXX)
- 浅谈对struts2.2 the request was rejected because its size (XXXX) exceeds the configured maximum (XXXX)错
- Rejected because no crossdomain.xml policy file was found
- Rejected because no crossdomain.xml policy file was found
- Architectures for a Compositing Manager
- NSURLConnection详解
- 关于使用xcode7进行真机测试出现 "could not find developer disk image"
- CXF 入门
- Ubuntu12.04安装vnc Viewer
- shell学习三十五天----波浪号展开与通配符
- Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn
- STL学习之stack
- JavaScript中setTimeout的作用域以及this指向问题
- 抓握手包破解wifi密码前传:WPA/WPA2加密小结
- 有道词典
- 简单的图片抓取demo
- Apache之安装
- 通过禁用javascript给Eclipse加速
- 中介者模式(Mediator)