[trouble shooting] pod install 에러

huiinny·2024년 11월 18일

pod install을 할려는데 이 오류 발생

[!] No podspec found for `React-Codegen` in `../node_modules/react-native/ReactCommon`
  1. npm install
  2. node_modules 폴더 제거
  3. rm -rf ios/Pods ios/Podfile.lock

모든 방법을 다 해봐도 계속 저 오류가 발생했다.

  1. podfile, Pods, 프로젝트명.workspace 제거
  2. pod init
  3. pod install

알고보니 모든 원인은 git branch 문제였다....
언제였는지 모르겠지만 메인에서 작업을 하고 있었던게 충돌이 난것같다 OMG..
어떻게 항상 에러들은 어이가없지??

profile
Belle Epoqe

0개의 댓글