[001] 플러터 (Flutter) 문제 해결 - The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
2023. 4. 24. 14:59ㆍ모바일어플개발/Flutter Tips
반응형
안녕하세요~ totally 개발자입니다.
플러터 개발을 하다보면
Failed to build iOS app
Error (Xcode): The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.
위와 같은 에러가 뜨는 경우가 종종 있는데 이럴 때에는 위에 해결책이 나와 있습니다. Run 'pod install' or update your CocoaPods installation.이라고 나오는데 보통 pod install를 다시 진행하시면 문제가 해결됩니다.
Step 1: 터미널을 열어서 cd ios로 ios 경로로 이동합니다.
Step 2: pod install를 터미널에 입력합니다.
그러면 위의 문구가 나오면서 잘 설치된 것을 확인해볼 수 있습니다. 다만 경로가 ios 경로여야 설치가 제대로 되기 때문에 위에 cd ios 해주셔서 경로를 ios로 이동하셔야 합니다.
Step 3: 다시 실행해보시면 됩니다.
반응형