Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LoadError - incompatible library version - /Users/user/gems/gems/ffi-1.13.1/lib/ffi_c.bundle

When I try to install modules using pod install command in directory ios of react native project, I get the following error:

LoadError - incompatible library version - /Users/user/gems/gems/ffi-1.13.1/lib/ffi_c.bundle

How can I fix it so that my command is executed successfully? To solve this problem I tried to uninstall ffi-1.13.1 and tried to install versions ffi-1.13.0, ffi-1.12 and do the command pod install again. The same error was displayed. Also issues were opened in Github repositories CocoaPods, React Native Mapbox

like image 259
designervoid Avatar asked Nov 27 '20 22:11

designervoid


1 Answers

Use the below command

gem install ffi

This fixed the same issue in my system (Big Sur)

like image 110
Salini Roni Avatar answered Sep 24 '22 13:09

Salini Roni