[RN] 'Build input files cannot be found error', ipa/apk 빌드 시 에러


[RN] 'Build input files cannot be found error', ipa/apk 빌드 시 에러

완전 deprecated된 library를 사용하니 app이 apk빌드가 안되는 현상 발생. 원인은 react-native-camera. 사용하지 않음에도 불구하고 프로젝트 자체가 deprecated되어서 문제였다. npm uninstall react-native-camera 로 정상 빌드함.(안드로이드는) ios쪽은 문제가 많아 보였다. 이런 상황에서 찾아본면 흔하게들 ios폴더 안에 있는 Podfile.lock을 들어내고(지우고) 다시 pod install을 하라고 한다. 하지만 다른 에러가 찾아온다. 에러 내용: cycle in dependencies between targets... Expo... 아마도 내가 사용한 Expo sdk랑 충돌이 일어난게 맞다. 이럴때는 시원하게 Pods 파일을 들어내고 재설치하면 대부분 해결된다. cd ios && rm -rf Pods && pod install && cd .. 프로젝트 폴더에서 실행하면 ios폴더에 들어가서 Pods를 들어내고 ...


#apk #deprecated #podinstall #reactnative #rm #빌드에러

원문링크 : [RN] 'Build input files cannot be found error', ipa/apk 빌드 시 에러