Fixing Ffi Error When Installing CocoaPods on MacOS Catalina
If you encounter an error related to “ffi” when trying to install CocoaPods on macOS Catalina, follow these steps to resolve the issue:
- Install ffi version 1.10.0:
|
|
- Install CocoaPods:
|
|
- Install CocoaPods-binary:
|
|
- If you still face issues after following the above steps, it’s recommended to uninstall all gems and then reinstall them:
|
|
Note: The command above will uninstall all gems from the default gem path. If you have gems installed in other locations, you may need to handle those manually.






