React-native-code-push: [Error] Unable to find either of the following plist files in order to infer your app's binary version

Created on 20 Dec 2018  路  8Comments  路  Source: microsoft/react-native-code-push

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. code-push release-react operator_app_ios ios

Expected Behavior

Release app

Actual Behavior

Wrong report

Detecting ios app version:

[Error]  Unable to find either of the following plist files in order to infer your app's binary version: "ios/operator-app/Info.plist", "ios/Info.plist". If your plist has a different name, or is located in a different directory, consider using either the "--plistFile" or "--plistFilePrefix" parameters to help inform the CLI how to find it.

Environment

  • react-native-code-push version: 5.5.0
  • react-native version: 0.57.7
  • iOS/Android/Windows version: xcode ios simullator
  • Does this reproduce on a debug build or release build? develop build
  • Does this reproduce on a simulator, or only on a physical device? simulator

(The more info the faster we will be able to address it!)

bug iOS

Most helpful comment

can you please tell how can i solve this issue?

Hi, i did fix it by looking at my folder: "ios/appName", after i saw that the "name" of my package.json was different : "aplicationName". All that i had to do was to change the "name" of my package.json to "appName", to match the folder inside ios directory.

All 8 comments

Hi @IceApriler,
Thanks for reporting!

Could you please ensure that your app have plist.info in this path "ios/operator-app/Info.plist" or "ios/Info.plist"?

Hi @IceApriler,
Thanks for reporting!

Could you please ensure that your app have plist.info in this path "ios/operator-app/Info.plist" or "ios/Info.plist"?

Yes, I have info.plist in the path ios/operator-app/Info.plist

Hi @IceApriler,
Thanks for reporting!

Could you please ensure that your app have plist.info in this path "ios/operator-app/Info.plist" or "ios/Info.plist"?
@alexandergoncharov
Uh, it's my fault. Sorry, it's my path name that went wrong. I'm very sorry.!

Sure, no worries :)
Thanks for keeping us in touch!

can you please tell how can i solve this issue?

can you please tell how can i solve this issue?

Hi, i did fix it by looking at my folder: "ios/appName", after i saw that the "name" of my package.json was different : "aplicationName". All that i had to do was to change the "name" of my package.json to "appName", to match the folder inside ios directory.

the name in package.json should match exactly the same project name

image
The problem is, my IDE (webstorm) suggests to use kebab-case on package.json's "name". (While react-native automatically creates project name with PascalCase)

Should I keep ignoring the warning on IDE?

Was this page helpful?
0 / 5 - 0 ratings