So, guys, this problem happening every time when i try to add a cloud_firebase in pubspec.yaml. My mac is working on intel processor, so the solution sudo arch -x86_64 gem install ffi is not working, flutter clean -> pod install not working to, also deleting Podfile.lock is not a solution :(. Have you any thinks about it?