Xcode 8.1 "No matching provisioning profiles found" after updating MacOS and Xcode
<p>I'm testing my app with TestFlight but I can't upload my archives after updating to MacOS 10.12 and Xcode 8.1. </p>

<p>When I archive my app, click on "Upload to App Store...", select my Development, I get this error.</p>

<blockquote>
  <p><strong>No matching provisioning profiles found for "Applications/app.app"</strong> </p>
  
  <p>None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.</p>
</blockquote>

<p><strong>What I've tried so far:</strong></p>

<ol>
<li>Reopening Xcode (Many times)</li>
<li><kbd>⌘</kbd>+<kbd>,</kbd> > select team > remove every provisioning profile > re-download every provisioning profile (Reopening Xcode after each step)</li>
<li>Re-downloaded and installed my certificates and provisioning profiles</li>
<li>Removing every provisioning profile and building the app</li>
</ol>