본문 바로가기
App Dev/IOS

[xcode] cocoapod update 하는 방법

by hyen_ 2022. 10. 17.
300x250

XCODE에 들어가서 

 

 

 

Pods > Podfile에 오른쪽마우스를 클릭해서 Show in Finder를 클릭해서 Podfile이 있는 경로로 켠다.

 

 

 

Podfile을 터미널에 끌어다가 놓으면

 

 

 

ios/ 뒤에 있는 Podfile은 지운 상태에서 pod install을 해도, pod file이 있어도 pod update 실행이 되지 않습니다.

flutter 프로젝트가 아닌 분들은 pod install 후, pod update를 해보세요!

 

 

플러터는 이러한방식으로 cocoapods update가 되지 않는듯합니다.

 

플러터 해결법은 다음글에서!

 

[flutter] pod install 오류해결하기 (undefined method 'map' for nil:NilClass)

오류1 the sandbox is not in sync with the Podfile.lick. Run 'pod install' or update your cocoaPods Installation. 메시지를 보아하니 cocoapods을 업데이트 해야합니다. Podfile.lock을 삭제해보기도하고 pod을 삭제하고 재설치

leehyen.tistory.com

 

 


참고사이트

https://youtu.be/NjbxA1vfgwQ

 

300x250
반응형

댓글