error : Podfile.lock: No such file or directory 해결하기

안녕하세요 민몽입니다 :)

CocoaPods install 후 빌드시 에러 중 Podfile.lock : No such file or directory가 발생 했을 경우 해결 방법입니다.

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory 
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

 

먼저 Podfile.lock 파일이 정말 생성이 되지 않았을 경우입니다. 

해당 CocoaPods directory에 해당 파일이 있는지 확인 합니다.

에러 해결 방법

rm -rf Pods/ Podfile.lock
pod install

이렇게 했는 경우에도 해결 되지 않으면 CocoaPods의 명령어 deintegrate를 이용해서 삭제 후 다시 install 합니다.

gem install cocoapods-deintegrate
pod deintegrate
pod install

admobmediationtest때문에 CocoaPods를 처음 사용 해봤는데 뚝딱뚝딱 되지 않네요 ㅠㅠ

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

다음 글에서 해당 에러도 잡아 봅시다.

그리드형(광고전용)

이 글을 공유합시다

facebook twitter googleplus kakaoTalk kakaostory naver band

댓글

Designed by JB FACTORY