Programming/React Native

[ReactNative] CocoaPods could not find compatible versions for pod "RCT-Folly":

통통만두 2023. 4. 21. 18:45
반응형

2022년 1월에 회사에서 ReactNative 로 iOS, Android 앱을 개발해서 스토어에 올렸다. 1년 넘게 수정사항이 없다가 수정해야 할 일이 생겨서 예전 소스 그대로 build를 해봤는데 CocoaPods could not find compatible versions for pod "RCT-Folly": 에러를 만나게 되었다.

뭔 짓을 해봐도 안되길래 마음을 차분히 가라앉히고 검색을 해봤더니 아래와 같은 공식사이트 페이지를 발견하게 되었다.

https://reactnative.dev/docs/new-architecture-troubleshooting

 

Troubleshooting · React Native

This page contains resolutions to common problem you might face when migrating to the New Architecture.

reactnative.dev

 

  1. Run pod deintegrate in your ios directory (or wherever your Podfile is located) and re-run pod install (or arch -x86_64 pod install, in case of a Mac M1).
  2. Delete Podfile.lock and re-run pod install (or arch -x86_64 pod install, in case of a Mac M1).
  3. Delete node_modules and re-run yarn install.
  4. Delete your codegen artifacts and re-run pod install (or arch -x86_64 pod install, in case of a Mac M1), then clean and build your Xcode project.

속는셈(?)치고 가이드를 따라서 해봤더니 잘 된다 ㅋㅋㅋ 해당 이슈가 얼마나 컸으면 공식사이트에 트러블슈팅에까지 등록이 되었을까!?

 

반응형