Uploaded our build to the appstore. This took many tries, as we saw it hang during “validating” many times, infinite poll of some upload-status endpoint in browser network console.
Eventually, it went through, this time we got this error:
Thanks, but we still don’t understand the error: “Invalid or missing build number in the VPKG”.
Here is the pertinent part of the manifest.toml which was used to build this:
schema-version = 1
[package]
...
version = "1.2.5"
...
In general, whatever the answer is, similar to the other issue we just reported errors like this need to be reported much earlier in the development process—at compile time and by the SDK, not at submission time & by the appstore.
Also, I don’t see the version field documented in the package docs. But this is what the sample apps use, and the string we set here is being returned by getVersion() from @amazon-devices/react-native-device-info.
That’s cumbersome since this is something we already check in with (a) package.json and (b) manifest.toml (though that might be unsupported and misleading from the example apps). I’ll file a separate feature request.