- zsh shell
- m1 Macbook pro already installed cocoapods, then used pod init and that worked fine, opened Podfile in Xcode to edit it, and getting an error when use the pod install command.
Asked
Active
Viewed 1,575 times
1

yunSwifty.0
- 61
- 4
-
1Please paste the text of the error you're getting, and maybe the Podfile too. – Yonat Jul 04 '22 at 07:48
-
Try: brew install cocoapods – Gurjinder Singh Jan 11 '23 at 17:20
1 Answers
4
I managed to fix the issue by running the following commands:
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
Glad it worked but don’t understand exactly why it worked.

Kuro Neko
- 795
- 12
- 19

yunSwifty.0
- 61
- 4
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 11 '22 at 00:49