Just to confirm, I tried this again but this time allowed Xcode to do it's automatic build numbering thing.
Same error - it seems to be completely broken. Automatic build numbering doesn't seem to be the cause, and nor does it seem to help.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: