title: Xcode - How to upload build to a specific team
body: <p>My Apple ID is associated with two different teams on iTunes Connect, so how can I sign and upload a build for a specific team? </p>
  
  <p>I am in Admin and Legal role in team A, which I've been using and uploading builds to for more than a year without any issue. Recently I was invited into someone else's team (team B) as an Admin. But when I try to upload a build for an app in team B I got this error:</p>
  
  <blockquote>
    <p>ERROR ITMS-90159: "Invalid provisioning profile. This app contains an embedded provisioning profile that is not associated with your account. Please use a provisioning profile associated with Team ID XXXXXXXXX."</p>
  </blockquote>
  
  <p>So what should I do to get this done?</p>