Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ol> <li><p>Visit <a href="https://developer.apple.com/membercenter/index.action" rel="nofollow">Member Center</a></p></li> <li><p>Go to <strong>"iOS Provisioning Portal"</strong> -> <strong>"Certificates"</strong> (Left sidebar) >> <strong>"Distribution"</strong> tab</p></li> <li><p>Check field <strong>"Provisioning Profiles"</strong>. If empty, next (4)</p></li> <li><p>Go to <strong>"Provisioning"</strong> (Left sidebar) -> <strong>"Distribution"</strong> tab. Press "New Profile" and complete it. Go back to (3) check the field again.</p></li> <li><p>Download and <strong>"run"</strong> (double click) the new provisioning profile.</p></li> <li><p>In your project's build settings select the NEW provisioning profile (it might have the same name as the old one)</p></li> <li><p>In your project's build settings update your code signing identities (all of them) to the new one if there is one. (The old one was probably expired which is one of the biggest causes for the error message you saw)</p></li> <li><p>Verify that your bundle ID is correct (CaSe SeNsEtIvE)</p></li> <li><p>Back to XCode Organizer - Devices. Click TEAM (Left sidebar) and click "Refresh" (right-bottom). You will find XCode fetch the new profile. If new content loaded, repeat steps 6 and 7 (they will have been changed!) <br><br>*If you can't find team because you are running a newer version of xCode, go to Xcode preferences (clicking "Xcode" on the mac toolbar on the top left corner of your screen) and go to account, select your team and click refresh. If new content loaded, repeat steps 6 and 7 (they will have been changed!)<br><br>If you are in <strong>Preferences</strong> -> <strong>Accounts</strong> and you <em>still</em> can't refresh, then:</p> <ul> <li>Click on the Accounts tab</li> <li>Select an Apple ID in the list</li> <li>Click "View Details" on the bottom right</li> <li>Click on the refresh arrow on the bottom left</li> <li>Xcode will now refresh the updated credentials, and you can proceed to validate or distribute your app.<br><br></li> </ul></li> <li><p>Validate or distribute your app again. It should work.</p></li> <li><p>If this didn't work then go to "TEAM" under project settings > targets and select "none"... Now that you have selected None you will need to repeat step 7 and change the code signing identities (all of them) and try archiving again.</p></li> <li><p>Lastly, if none of the above worked. Simply create a new production certificate AND create a new provisioning profile with the same bundle ID. (Yes, this will work if you are updating an app that is already live). Download the cert and prov. profile and run both (double click). Now repeat step 6 and archive. This should work.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload