Code signing issue in Xcode version 8

2019-01-25 12:08发布

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 issue is my production provisioning profile is showing as ineligible one. This error message is coming:

"xxxproductionprovisioningprofile" doesn't include signing certificate "iPhone Distribution: xxx (xxx)".

I again created the provisioning profile using same distribution certificate. The distribution certificate is present in keychain too. Everything was working fine in Xcode version 7.3 and earlier. Any help is appreciated.

标签: ios ios10 xcode8
8条回答
我想做一个坏孩纸
2楼-- · 2019-01-25 12:42

I faced the same issue, fixed it without having to delete and download everything again.

I simply enabled Automatic Signing, waited for it to detect my signing certificates, and then disabled it. After that, I was able to reselect the desired provisioning profiles and the Signing Certificated were detected as they should.

查看更多
三岁会撩人
3楼-- · 2019-01-25 12:44

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.

查看更多
4楼-- · 2019-01-25 12:52

I ran into the same issues, but in order to solve it I ended up generating an additional 'App Store provisioning profile' and 'Ad hoc provisioning profile'.

Hope that helps others.

查看更多
我想做一个坏孩纸
5楼-- · 2019-01-25 12:57

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.

查看更多
Melony?
6楼-- · 2019-01-25 12:57

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.

查看更多
你好瞎i
7楼-- · 2019-01-25 12:57

I got the same error after updating from Xcode7 to Xcode8. I dont need to install the certificates.

  1. In my case I only have to go to Xocde -> "Preferences"->"Accounts".

  2. There I have to login again my existing account, the login was expired.

  3. IMPORTANT: After this, restart Xcode.

Then everything works as expected.

best regards

查看更多
登录 后发表回答