Encountering the same/similar problem when trying to push from Swift on iPad. Full text of the error is:
Submission Failed
The operation couldn't be completed.
(PlaygroundDistribution.Distribution-AppRecordCredentialsProviderError error 1.). Credentialed provider request failed with error: "Unexpected nil property at path: 'Actor/relationships/providerId’”.
Error pops up right after tapping “Upload to App Store Connect”.
Unfortunately I don’t have a Mac so I can’t do the Transport work-around, and all other advice seems to center on XCode, but I haven’t found a solution for Swift on iPad yet.