title: Xcode Application Loader stuck at "Signing in to App Store Connect"
body: <p><em>Note: this is NOT the same as being stuck at "Authenticating with the iTunes store" while uploading an app, which is well-documented on SO and elsewhere.</em></p>
  
  <p>When I first launch Application Loader, I'm prompted for a username and password.  I enter my credentials and click Sign In.  A message pops up saying "Signing in to App Store Connect" with a little spinner to the left.  Then a few seconds later, the spinner goes away, and I'm never brought to the page where I can upload an .ipa.  And I'm left questioning my life choices.</p>
  
  <p><a href="https://i.stack.imgur.com/MYzQv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MYzQv.png" alt="Application Loader Sign In"></a></p>
  
  <p>I have a coworker who experienced the exact same issue.  We each have email addresses associated to 2 Apple Developer accounts, we'll call them <code>nodice.com</code> and <code>allgood.com</code>.  We can both sign in to our <code>allgood.com</code> accounts fine.  But both of us experience this issue when signing in to our <code>nodice.com</code> accounts.</p>
  
  <p>However, we can both sign in to both accounts at <a href="https://developer.apple.com/" rel="noreferrer">https://developer.apple.com/</a> and <a href="https://appstoreconnect.apple.com/" rel="noreferrer">https://appstoreconnect.apple.com/</a>.</p>
  
  <p>The curious difference between the two, is that both of our <code>nodice.com</code> email addresses also belong to other organizations.  The <code>allgood.com</code> accounts have only been invited to one organization.  In other words, on the websites above, while logged in to the <code>nodice.com</code> account, I can switch between these organizations.  On the <code>allgood.com</code> account, I have only one organization to choose from.</p>
  
  <p><a href="https://i.stack.imgur.com/TDoTw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TDoTw.png" alt="App Store Connect menu"></a></p>
  
  <p>Even curiouser is this, which I found by accident: if I close the stuck login screen, I see the "Template Chooser" screen!  But the selected team is the one I don't want, and when I click the button, the menu is borked.</p>
  
  <p><a href="https://i.stack.imgur.com/2Li6J.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2Li6J.png" alt="Template Chooser"></a> </p>
  
  <p>Recently Apple made a change -- we all got the email -- that "Teams and roles have been unified" between the Apple Developer website and App Store Connect.  This could be related.</p>
  
  <p>We are using Xcode Version 10.1 (10B61) and Application Loader Version 3.7.2 (1138), which as far as I know are the most recent versions.  </p>
  
  <p>I have tried modifying the <code>net.properties</code> file as documented <a href="https://stackoverflow.com/questions/18971710/application-loader-stuck-at-the-stage-of-authenticating-with-the-itunes-store">here</a>.</p>
  
  <p>I have also tried updating the <code>iTMSTransporter</code> using the instructions found <a href="https://forums.developer.apple.com/thread/76803" rel="noreferrer">here</a>.</p>
  
  <p>I may just have to file a bug report with Apple, but I'm curious if anyone else has had this issue and has maybe found a workaround.</p>