[react native, ios] code push error

김재훈·2022년 6월 16일
0

React Native

목록 보기
3/4

다음 codepush 커맨드로 ios를 업데이트하려는데 다음과 같은 에러가 발생하였습니다.
appcenter codepush release-react -a appName -d Production

Error: Command 'codepush release-react -a appName -d Production' failed with exception "Unable to find either of the following plist files in order to infer your app's binary version: "ios/bbatalk_rn/Info.plist", "ios/Info.plist". If your plist has a different name, or is located in a different directory, consider using either the "--plist-file" or "--plist-file-prefix" parameters to help inform the CLI how to find it."

찾아보니 package.json의 name값과 ios폴더에 있는 프로젝트명이 다르기때문에 발생하는 문제라고 하여, package.json의 name값을 ios처럼 변경 후, 커맨드를 실행하니 해결되었습니다.

참조 - https://github.com/Microsoft/react-native-code-push/issues/1481#issuecomment-659466038

profile
같이 협업하며 성장하고싶은, 좋은 개발자를 지향합니다 :)

0개의 댓글