error: RN | pod install --repo-update m1 이슈

Lumpen·2022년 12월 1일
0

Error

목록 보기
23/41

firebase/auth 설치 후
pod isntall 시 버전 문제가 발생
pod install --repo-update 를 시도해보라는 메시지가 있었다

시도를 하면

[!] CocoaPods could not find compatible versions for pod "Firebase/Auth":
  In Podfile:
    RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 16.4.6, which depends on
      Firebase/Auth (= 10.2.0)

None of your spec sources contain a spec satisfying the dependency: `Firebase/Auth (= 10.2.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

같은 에러 메시지만 계속 반복되었다

m1 이슈였음..
아래와 같이 설치 하니 된다..

Podfile.lock , workspace 파일 삭제 후

sudo arch -x86_64 gem install ffi
arch -x86_64 pod install --repo-update
profile
떠돌이 생활을 하는. 실업자는 아니지만, 부랑 생활을 하는

0개의 댓글