# my problem was at mac m1, I resolved it by changing the architeture sudo arch -x86_64 gem install ffi # On the ios project folder run: arch -x86_64 pod install --repo-update
Here is what the above code is Doing:
1. It’s installing the ffi gem.
2. It’s running pod install on the ios project folder.