Code signing issue in Xcode version 8

前端 未结 9 1161
滥情空心
滥情空心 2020-12-09 19:54

I updated my Xcode to version 8 after iOS 10 release. Apple made some changes in code signing process and it is now available in general section of target settings. But the

相关标签:
9条回答
  • 2020-12-09 20:13

    I was facing the same problem, I also tried removing all certificates from my login keychain, but the problem was still coming... Then, luckily one day, I opened system keychain and found that there were more than one distribution certificates added there.I deleted those from there. And then the problem got finally solved :)

    So, if you are facing this problem, make sure you delete your certificates from login as well as system keychain and add them again to the login keychain. Hope it helps.

    0 讨论(0)
  • 2020-12-09 20:20

    Ok, if you don't want delete all the previsional profiles and certificates, neither use Automatic Provisional Profiles, try this steps:

    1. Delete Provisional Profile from Accounts (cmd + ,), where you can see the list of the all Provisional Profiles according with your user.

    2. Delete the Certificate from Keychain (Login - Certificates - Search the Certificate that is causing conflict)

    3. From Developer Panel (Certificates, IDs & Profiles - Provisioning Profiles) enable your Provisional Profile that are giving you conflict with the Certificate that you want to use.

    4. Download manually you Provisional Profile (it should be green color in its indicator).

    5. From Developer Panel, go to Certificates section and download the Certificate that is associated with the Provisional Profile that you updated in the previous step.

    6. Double click to Certificate that you downloaded to install and verify that it is in the Keychain

    7. Double click to Provisional Profile that you downloaded.

    8. Go to Xcode (Project - Targets - General) and in the section named "Singing (Debug or Release)" you will can see in Elegible the new Provisional Profile.

    It see that you need to update both of them (Certificate and Provisional Profile), but if you delete one, the another one keep the previous references and Xcode not update automatically. I did this and it works perfectly.

    0 讨论(0)
  • 2020-12-09 20:21

    As @mgentilc says, automatic signing works. Simply enable Automatically manage signing in General -> Signing, Xcode will create and update profiles, app IDs, and certificates automatically.

    0 讨论(0)
  • 2020-12-09 20:24

    Following the steps below:

    1. Select the Target --> General --> Signing --> select the desired Team (It must the Super account)
    2. Then select the Build Settings in Target, keep the Development team with the same with Selected team. Set the Provisioning Profile with Automatic and Code Signing Identity with iOS Developer.
    3. Select the Project --> Build Settings. Set the Provisioning Profile and Code Signing Identity with Details information
    0 讨论(0)
  • 2020-12-09 20:26

    I faced this too, and fixed it by:

    1- removing all certificates of my account from keychain,

    2- removing all provisioning profiles from xcode and then

    3- downloading provisioning profiles again via xcode and also

    4- adding certificates again to the keychain.

    0 讨论(0)
  • 2020-12-09 20:27

    This problem is due to private key in the certificate in your profile not match that in your keychain. I resolve this by

    1. delete all iPhone Developer certificate in keychain.
    2. delete all certificate in apple account.
    3. using xcode "Manage Certificates" to add certificate, sometime you still have certificate in your Mac, but I do not know where it is for now, and if added successfully, your apple account will display that certificate too, and then you can create your profile with that certificate and download ... goto 5
    4. if you use "Manage Certificates" can't add certificate, you can create a new certificate, and do remain steps.
    5. finish.
    0 讨论(0)
提交回复
热议问题