본문 바로가기
JavaScript/React Native

[React-Native] error Could not find "Podfile.lock"

by @김상현 2021. 5. 10.
반응형

npx react-native run-ios 실행시

 

error Could not find "Podfile.lock" at /... 오류 발생 해결법.

 

github.com/bluelion2/Project-issue-repo/issues/14#issuecomment-568258244

 

[React Native] Cocoapods install이 안될때 · Issue #14 · bluelion2/Project-issue-repo

상황 react-native-cli: 2.0.1 pod --version : 1.8.4 react-native: 0.61.5 React native 개발 셋팅하기 따라하던 중, IOS관련 설치가 불가능하고 실행이 안됨. React-native init project cocoapods을 인스톨 할 수 없다는 에러가

github.com

프로젝트의 ios 폴더로 이동후

$ cd ios

$ pod repo update

$ pod install

다시 react-native run-ios실행하면 정상적으로 에뮬레이터가 나온다.

반응형

댓글