as per https://docs.revopush.org/cli/releasing-updates#output-directory-parameter
When --outputDir is specified, anything but <dir>/CodePush, all the released (and signed) bundles won't be downloaded with error
[Error: Uncaught (in promise, id: 0): "Error: Error! Public key was provided but there is no JWT signature within app bundle to verify Possible reasons, why that might happen:
1. You've been released CodePush bundle update using version of CodePush CLI that is not support code signing.
2. You've been released CodePush bundle update without providing --privateKeyPath option."]
It appears because the sdk doesn't support custom manifest directories https://github.com/revopush/react-native-code-push/blob/12ebcc2316a6dfed199d18c559f110999e5233ee/ios/CodePush/CodePushUpdateUtils.m#L9
The possible solutions would be either
- Document current behavior
- Do not allow overriding
/CodePush directory with --outputDir parameter
- Make the manifest folder configurable on the SDK level and document the scenario of using
--outputDir explicitly
as per https://docs.revopush.org/cli/releasing-updates#output-directory-parameter
When
--outputDiris specified, anything but<dir>/CodePush, all the released (and signed) bundles won't be downloaded with errorIt appears because the sdk doesn't support custom manifest directories https://github.com/revopush/react-native-code-push/blob/12ebcc2316a6dfed199d18c559f110999e5233ee/ios/CodePush/CodePushUpdateUtils.m#L9
The possible solutions would be either
/CodePushdirectory with--outputDirparameter--outputDirexplicitly