Ruby ffi 라이브러리를 업데이트 후 다시 설치하는 방법이다.
이 두줄만 치니까 바로 됐다!
그냥 sudo gem 으로 설치하는게 아니라 아키텍쳐를 -x86_64로 설정하고 설치하는 것이다.
sudo arch -x86_64 gem install ffi
이것도 똑같이!
arch -x86_64 pod install
이렇게 하니까 계속 빌드 failed 나던게 이쁘게 설치됐다!
pod deintegrate
pod cache clean --all
pod install
참고문서링크:
https://ondemand.tistory.com/340
애플 M1 환경에서 cocoapod 를 통한 pod install 실패 대응 방법
간만에 Swift 환경으로 넘어오니 묵혀있던 애플 M1 환경에서의 에러 공습이 시작되었습니다. cocoapod 설치까지는 잘 진행되었으나 필요한 의존성을 Podfile에 기술하고 설치하는 작업에서 문제가 생
ondemand.tistory.com
https://eloquence-developers.tistory.com/149
[React Native] iOS pod 삭제, 클린, 설치 명령어
1. pod 삭제 pod deintegrate 2. pod 클린 pod cache clean --all 3. pod 설치 pod install
eloquence-developers.tistory.com
'react native' 카테고리의 다른 글
22.01.25 [android] GC overhead limit exceeded (0) | 2022.01.25 |
---|---|
22.01.18 route.params (0) | 2022.01.18 |
22.01.13 안드로이드 웹뷰 로드 시 흰 화면만 나오는 문제 (0) | 2022.01.13 |
22.01.10 Error: Objects are not valid as a React child (found: object with keys {_U, _V, _W, _X}). (0) | 2022.01.10 |
21.12.28 undefined is not an object (evaluating 'data.prop') (0) | 2021.12.28 |