title: How to get Xcode 6 to regenerate provisioning profile
body: <p>I'm a new iOS developer and I am having a strange problem with my Xcode-generated provisioning profile. I am the only developer on my team (and in my company) and yet the provisioning profile shows 50 certificates. I only have one development certificate and am the only person developing. I only use one Mac and one Mac server. I'm not sure how this happened. I guess I can't post an image here yet, but on Member Center, when clicking on the iOSTeam Provisioning Profile it shows:</p>
  
  <ul>
  <li>Name:iOSTeam Provisioning Profile: *</li>
  <li>Type:iOS DevelopmentApp ID:</li>
  <li>Xcode iOS Wildcard App ID (*)</li>
  <li><strong><em>Certificates: 50 total</em></strong></li>
  <li>Devices: 5 total</li>
  <li>Enabled Services: None</li>
  <li>Expires:Jan 02, 2016</li>
  <li>Status:Active (Managed by Xcode)</li>
  </ul>
  
  <p>I've searched here and elsewhere on the web and tried many ways to get Xcode to simply create a new provisioning profile, but it always seems to just recreate one with 50 certificates. I've tried:</p>
  
  <ul>
  <li>Deleting all provisioning profiles from Xcode</li>
  <li>Signing out my developer account in Xcode</li>
  <li>Deleting all provisioning profiles on member center</li>
  <li>Restarting Xcode</li>
  </ul>
  
  <p>At this point, Xcode just recreates the iOSTeam Provisioning Profile with 50 certificates.</p>
  
  <p>I have also revoked my development certificate, created a new one, and had Xcode recreate the provisioning profile. Same thing happened.</p>
  
  <p>I have created my own provisioning profile and that one is correct. But, I'd like to have Xcode manage all this so would prefer to use that one.</p>
  
  <p>I've talked to Apple, and they don't know what happened, but don't think there is really an issue since this profile is working OK. They said to just keep using this one. But, I guess I'm neurotic and would like a correct profile.</p>
  
  <p>I guess I really have two questions:</p>
  
  <ul>
  <li>Has anyone ever seen this and if so, do you know what causes it (and how to fix it)?</li>
  <li>Has anyone figured out how to get Xcode to truly re-create a provisioning profile from scratch?</li>
  </ul>
  
  <p>I appreciate any insight and help.</p>