Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'XXX' didn't contain all required architectures

牧云@^-^@ 提交于 2019-11-30 04:11:44
ananas

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

For me, what worked was to change the CocoaPod project "Base SDK" to "Latest iOS".

Try to run the project first on an iPhone 4s in simulator and after that it should work.

What fixed this problem for me was precisely the opposite of the most voted answer:

"Build Active Architecture Only" set to "YES"

both in main target and Pods target + Debug and Release

In my case, it was because I had the "Build Active Architecture Only" parameter set to Yes for Debug mode. Changing it no No fixed it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!