React Native CodePush 错误解决方案

253 阅读1分钟

[Error] Unable to find either of the following plist files in order to infer your app's binary version: "ios/ReactNativeTestDemo/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.

找不到plist文件所在位置,通过添加参数来解决 -p代表info.plist文件,例:

code-push release-react ReactNativeTestDemo ios -p "./ReactNativeTest/Info.plist"