现在编写iOS程序,引用到第三方包,运用cocoapods进行包管理已经成为了一个趋势了,但是最近运用cocoapods构建的应用却在64bit的iOS7系统中有警告的产生,具体的警告信息如下面所示:
Pods was rejected as an implicit dependency for ‘libPods.a’ because its architectures ‘i386’ didn’t contain all required architectures ‘x86_64’
具体的解决方案如下: 在TAGETS =》 Build Settings 中重新设置值.
- Architectures: Standard architectures (armv7, armv7s)
- Base SDK: Latest iOS (iOS 7.0)
- Build Active Architecture Only: YES
- Supported Platforms: iOS
- Valid Architectures: arm64 armv7 armv7s
自己的工程和Pods工程都需要进行上述的设置.
注意:在每次Podfile更新之后,还需要重新检查新的Pods工程中的设置是不是如上面设置的一致,如果不一致,则需要修改一致。
Good luck for you!!!
转载:http://blog.kingiol.com/blog/2013/12/03/fix-cocoapods-warning-on-ios7-64bit/
Pods was rejected as an implicit dependency for ‘libPods.a’ because its architectures ‘i386’ didn’t contain all required architectures ‘x86_64’
参考了http://blog.kingiol.com/blog/2013/12/03/fix-cocoapods-warning-on-ios7-64bit/
这里我只修改了
Build Active Architecture Only 改为yes 也就是release和debug都是yes
就成功了
转载:http://www.cnblogs.com/zoe-j/p/3984479.html
本文解决在iOS 7 64位系统中使用CocoaPods构建应用时出现的警告问题。通过调整工程设置中的架构选项及确保Pods工程配置一致,可以有效避免警告。
760

被折叠的 条评论
为什么被折叠?



