I've been trying to upload my app for notarization following Upload Your App to the Notarization Service guide. I codesigned it, created the application-specific password, added it to the keychain. The Developer ID certificate was issued to the account different from the one I used for creating the application-specific password.
Now when I run
xcrun altool --notarize-app --primary-bundle-id "com.My.Bundle.Id" --username "myappleid@mail.com" --password "@keychain:MyAppPassword" --file MyApp-1.2.3.dmg
it fails saying my account is not a member of a provider:
1 package(s) were not uploaded because they had problems:
/var/folders/c9/0k8wm_mj0g11kvr4kzrksx440000gn/T/63D75020-CC91-437D-BB5F-3AF1F5F3EC3E/com.My.Bundle.Id.itmsp - Error Messages:
The username myappleid@mail.com is not a member of the provider . Contact your team admin for assistance. (1296)
2019-12-18 20:00:20.497 altool[857:45244] *** Error: The username myappleid@mail.com is not a member of the provider . Contact your team admin for assistance. (1296)
I don't really understand what it means. Do I have to subscribe to Apple Developer Program or, otherwise, how do I become "a member of a provider"?