pod install failed in apple silicon Mac

You want to install the pod:

finder -> select application -> utilities -> terminal -> right click -> get info -> tick the open using rosetta

  • arch -x86_64 sudo gem install cocoapods
  • arch -x86_64 sudo gem install ffi
  • arch -x86_64 pod install

You want to update a pod:

  • arch -x86_64 pod update

You want to remove the pod:

  • pod deintegrate
  • pod cache clean –all

You want to add a pod file:

  • pod init
  • open podfile

You Want to remove a pod file:

  • rm Podfile

You want to remove CocoaPods in a project:

  • sudo gem install cocoapods-deintegrate cocoapods-clean

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *