title: How to "select a team" when Xcode thinks I'm not a registered iOS developer? Also, do I need an iPhone to get a provisioning profile?
body: <p>When I try to create an archive for my finished app, I get this message:</p>
  
  <blockquote>
    <p>No non-expired provisioning profiles were found. Xcode can resolve
    this issue by downloading a new provisioning profile from the
    Membership Center.</p>
  </blockquote>
  
  <p>I click <code>Fix Issue</code>.</p>
  
  <p>I then get:</p>
  
  <blockquote>
    <p>The selected team doesn't have an iOS Developer Program membership.
    Select a team with an iOS Developer Program membership and try again.</p>
  </blockquote>
  
  <p>I <em>do</em> have an iOS developer program membership but I can't figure out how to "select a team." I've looked around and can't find any resources on how to correct this. Anyone else had this problem?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>When I go to <code>Project &gt; General &gt; Identity &gt; Team</code>, my account is correctly associated with the app, and it says that I have an iOS developer membership. Yet no provisioning profile and the above errors persist.</p>
  
  <p><strong>Edit2:</strong></p>
  
  <p>When I click <code>Fix Issue</code> beneath "Team" in the Identity section of <code>Project &gt; General</code>, to correct the lack of provisioning profile, I get a different error:</p>
  
  <blockquote>
    <p>Unable to create a provisioning profile because your team has no
    devices registered in the Member Center. Please connect a device,
    enable it for development, and add it to the Membership Center using
    the Organizer.</p>
  </blockquote>
  
  <p>I have a Mac, but no iPhone....does that mean I can't publish the app? Or can I use the Mac? How do I add it? I don't see any option in the organizer.</p>