본문 바로가기

iOS(Swift)

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 오류해결하기

반응형

오류 발생

신규 모바일 웹/앱을 제작하면서 어쩌다 보니 앱 쪽도 같이 봐야될 때가 있었다

iOS 앱의 경우에는, Swift 기반의 프로젝트를 진행중이었고, git에서 신규 코드를 내려받아 Xcode에서 실행하니 아래와 같은 오류가 발생하였다.

 

에러 내용은 'The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.' 이었다.

 

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 오류
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 오류

 

 


해결 방법

(먼저 cocoaPods을 설치한 후, pod 명령어를 쓸 수 있는 환경이라고 가정)

실행하려는 프로젝트 내에 Podfile이 있는 경로에서 `pod install` 명령어를 한번 실행해주면 된다.

 

 

반응형

'iOS(Swift)' 카테고리의 다른 글

[iOS] App Store Connect에서 '누적 앱 설치 수' 구하기  (0) 2021.01.20