반응형
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle' (mach-o file,
but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:6:in `rescue in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:3:in `<top (required)>'
.
.
.
이하 생략
일반적인 해결책
sudo arch -x86_64 gem install ffi
sudo gem install cocoapods
나의 해결책
sudo gem install ffi
sudo gem install cocoapods
반응형
'Flutter 시작하기' 카테고리의 다른 글
flutter app 을 macos testFlight에서 테스트 할 때 스크롤 느림 (0) | 2022.07.05 |
---|---|
[flutter] run macos(desktop) http error (1) | 2022.06.06 |
Flutter , In iOS 14+ , debug mode Flutter apps can .. (0) | 2022.05.30 |
What’s New in Flutter 2 - AdMob (1) | 2021.03.05 |
플러터 앱 신규 생성 시 해야 할 것들(기존 ios 프로제트 복사) (0) | 2020.04.22 |