If you got an error like below:
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
It's maybe occured by M1 Chip on your mac. So, the solution is very simple.
Just run 'pod install' as Intel.
sudo arch -x86_64 gem instasll ffi
arch -x86_64 pod install
Check out the github issue:
반응형
'Develop > React Native' 카테고리의 다른 글
[React Native] 이미지 성능 이슈 (0) | 2021.10.05 |
---|---|
[React] Context 를 이용한 전역 데이터 관리 (0) | 2021.04.23 |
[React Native] iOS Build Error On M1 Chip (0) | 2021.03.25 |
Crash with "EMFILE: too many open files, watch..." (0) | 2021.03.23 |