cocoapods 설치 오류 시

Dean·2023년 12월 29일
0

오류 내용

zsh% flutter doctor -v
"    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
"

원인

cocoapods 설치 오류

해결

rvm 설치하여 해결

curl -L https://get.rvm.io | bash -r stable
export PATH=${PATH}:{rvm설치경로}
/bin/bash --login
rvm install ruby-2.6.5
rvm use ruby-2.6.5
rvm --default use 2.6.5
sudo gem install cocoapods
profile
딘딘딘

0개의 댓글