執行pod install 報錯

$ pod install 
Analyzing dependencies
dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc
  Referenced from: /usr/local/lib/ruby/gems/2.7.0/gems/ffi-1.14.2/lib/ffi_c.bundle
  Expected in: /usr/lib/libffi.dylib

dyld: Symbol not found: _ffi_prep_closure_loc
  Referenced from: /usr/local/lib/ruby/gems/2.7.0/gems/ffi-1.14.2/lib/ffi_c.bundle
  Expected in: /usr/lib/libffi.dylib

Abort trap: 6

解決方案:

gem install ffi -- --disable-system-libffi


 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章