Pods被拒绝为“libPods.a”的隐式依赖,因为它的体系结构'XXX'不包含所有需要的体系结构 [英] Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'XXX' didn't contain all required architectures

查看:238
本文介绍了Pods被拒绝为“libPods.a”的隐式依赖,因为它的体系结构'XXX'不包含所有需要的体系结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友在我们的项目中更新了Cocoapods。当我从git中获取最新的东西时,出现了以下错误:

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'

/ p>

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..


  • 删除导出数据

  • 删除构建数据

  • 删除pod并使用pod install重新安装

  • 清除项目


  • 在我们的项目和Pod Project中试验了仅构建Active Architecture。插入armv7和armv7作为硬代码,而不是$ variable

  • 在我们的项目和Pod项目中尝试了Architectures。插入armv7和armv7作为硬编码,而不是$ variable

  • 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

我们的目标是iOS 8,iPhone。

We are aiming for iOS 8, iPhones.

我的朋友通过结合前4个选项来工作,但我不能。

My friend got it to work by combining the first 4 options, but I cannot.

有什么建议么?我们应该在圣诞节前发布,因此生产时间是宝贵的:D

Does anyone have any suggestions? We're supposed to release before christmas so production time is precious :D

推荐答案

尝试设置 Build仅用于活动架构 NO 用于Pods项目和您应用的目标

Try to set Build Active Architecture Only to NO for 'Pods' project and your app's target

这篇关于Pods被拒绝为“libPods.a”的隐式依赖,因为它的体系结构'XXX'不包含所有需要的体系结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆