解决cocoapods在64位iOS7系统下面的警告问题

来源:互联网 发布:mac 大写灯不亮 编辑:程序博客网 时间:2024/06/08 04:27

现在编写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 中重新设置值.

  1. Architectures: Standard architectures (armv7, armv7s)
  2. Base SDK: Latest iOS (iOS 7.0)
  3. Build Active Architecture Only: YES
  4. Supported Platforms: iOS
  5. 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
0 0
原创粉丝点击