1 year ago
#386437
Sajal Gupta
Unable to install Pod in Mac M1 pro
I was getting this error when I tried to run pod install
require': dlopen(/opt/homebrew/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009):
tried: '/opt/homebrew/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle'
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/ffi_c.bundle' (no such file),
'/usr/lib/ffi_c.bundle' (no such file) - /opt/homebrew/lib/ruby/gems/3.1.0/gems/ffi-1.15.5/lib/ffi_c.bundle (LoadError)
This I already did
- I have already installed 'ffi gem'
- uninstall cocoapods then reinstall via brew
- Followed this link too but still not find any help
swift
xcode
apple-m1
0 Answers
Your Answer