투케이2K

248. (TWOK/ERROR) [Ios] The sandbox is not in sync with the Podfile.lock .. pod install 팟파일 수정 관련 이슈 본문

투케이2K 에러관리

248. (TWOK/ERROR) [Ios] The sandbox is not in sync with the Podfile.lock .. pod install 팟파일 수정 관련 이슈

투케이2K 2024. 6. 25. 19:07
반응형

[환경 설정 및 설명]

프로그램 : Xcode

설 명 : [Ios] The sandbox is not in sync with the Podfile.lock .. pod install 팟파일 수정 관련 이슈


[에러 원인]

1. Podfile 팟파일 수정 후 lock 파일이 동기화 되지 않아서 발생하는 이슈

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

[해결 방법]

1. 기존 활성화 된 Xcode 종료 실시

2. 터미널 명령어 수행 창 활성 >> 특정 IOS 프로젝트 경로 로 이동 실시

>> cd : 이동 / ls : 파일 목록 확인

3. 특정 IOS 프로젝트 내에서 기존 Pods 지운 후 재설치 진행

    >> rm -rf Pods

    >> rm -rf Podfile.lock

    >> pod install

4. 특정 IOS 프로젝트가 적용 된 폴더에서 코코아팟 적용 프로젝트 수행 실시

    >> 프로젝트 명이 .xcworkspace 로 표시된 것을 xcode 로 열어줍니다

5. Xcode 상단 메뉴 >> Product >> Clean 수행

6. Xcode 상단 메뉴 >> ▶ Run 빌드 수행 실시

    >> 참고 : Run 구동 동작은 EditScheme 에서 debug , release 모드를 선택해 변경할 수 있습니다


 

반응형
Comments