No accounts with App Store Connect access have been found for the team : <p>I got this error when submitting an iOS app to the App Store. Product → Archive, clicking "Distribute App" in the Organizer in Xcode 10.</p>

<p><a href="https://i.stack.imgur.com/cCRf8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cCRf8.png" alt="enter image description here"></a></p>

<blockquote>
  <p>No accounts with App Store Connect access have been found for the team "[My Team Name]". App Store Connect access is required for App Store distribution.</p>
</blockquote>

<p>I've logged into App Store Connect as the correct user account and verified that I have administrative access.</p>
