Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CocoaPods arm64 issue

When using Podfile for developing iOS 7 app with Xcode5, we always got this issue.

After some searching, seems like no final resolve from CocoaPods ? Maybe resolved at this moment when you see this.

How to resolve such issues right now ?

The issue was: Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64'

like image 623
Forrest Avatar asked Oct 17 '13 06:10

Forrest


People also ask

Does CocoaPods work on M1 Mac?

You should have Cocoapods running on your M1 Mac.

Do I need Ruby to install CocoaPods?

CocoaPods is built with Ruby and it will be installable with the default Ruby available on macOS. You can use a Ruby Version manager, however we recommend that you use the standard Ruby available on macOS unless you know what you're doing.


1 Answers

  1. Select the Pods project
  2. Change Build Active Architecture Only from Yes to No.

That worked for me.

Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting in your Xcode project, rather than changing the Pod's Build Active Architecture Only. As long as they match it seems to fix the problem.

enter image description here

like image 59
funroll Avatar answered Sep 23 '22 17:09

funroll