Revoked certificate - iPhone Programming

后端 未结 2 1567
醉话见心
醉话见心 2020-12-25 08:05

I deleted a certificate in Provisioning Portal (Certificates). Now, when I want create a new certificate I see a warning and this message is sent to my email:

相关标签:
2条回答
  • 2020-12-25 08:30

    Solution for Xcode 8

    1. Xcode Preferences > Accounts
    2. Choose your account
    3. Click 'View Details'
    4. Click 'Download all profiles'
    5. Restart Xcode
    6. This step is optional, meaning that might work without this: Product > press 'alt' button > Clean Build Folder

    These solved my issue.

    0 讨论(0)
  • 2020-12-25 08:56

    Manual Way:

    1. Go to this URL (Apple developer site): https://developer.apple.com/devcenter/ios/index.action

    2. Log in with your valid account.

    3. On the right-hand side, there is a column with a heading "iOS Developer Program". Select the "Provisioning Portal" section.

    4. On the left-hand side, click the row of the column that is labeled "Certificates"

    5. Since I already have a certificate I'm not sure, but somewhere on this page you should be able to click "Request certificate" or something similar.

    6. Wait for your new certificate, and then download and install it as before

    Other details can be found in Apple's Tech Notes here: https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

    You can ALSO have XCode create everything for you.

    1. Revoke all current certificates and provisioning profiles

    2. To invoke "Automatic Device Provisioning" open Xcode's "Window" menu > Organizer > Devices tab > "Provisioning Profile" sidebar under Library.

    3. Check the "Automatic Device Provisioning" checkbox and click the "Refresh" button. After clicking Refresh a dialog should appear requesting your team member account credentials. It is important to answer 'yes' when asked to create your iPhone Certificates if any are needed. In that case, clicking "Submit Request" will allow Xcode to create, download and install the certificate(s).

    What XCode is doing for you automatically, according to the above tech note:

    1) Prompts to create and install your "iPhone Developer" certificate if one doesn't already exist in the iOS Portal

    2) (for admin or agent roles) prompts to create and install your "iPhone Distribution" certificate if one doesn't already exist in the iOS Portal

    3) Creates a Wildcard App ID if one does not already exist in the iOS Portal

    4) Creates, or updates with new devices added to the portal, your iOS Team Provisioning Profile and installs that into your profile library

    5) Syncs the profile library on your local machine with the profiles on the iOS Portal

    0 讨论(0)
提交回复
热议问题