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

Viewed 2043

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

1 Answers

Use the below command

gem install ffi

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

Related