我正在尝试在 CocoaPods 中安装我的 pod:pod install
但是输出总是报错:
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 9): Library not loaded: @rpath/libffi.7.dylib
Referenced from: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
Reason: image not found - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
我试过了:
安装 ffi 总是会给出输出:1 gem installed。但是当运行 pod install
时,我仍然会得到上面的错误。