Xcode 8 shows error that provisioning profile does

2019-01-07 03:48发布

Xcode 8 shows error that provisioning profile doesn't include signing certificate.

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing related identified certificate.

25条回答
乱世女痞
2楼-- · 2019-01-07 04:16

Here are the steps solved for me (For those who face the same problem in XCode 9.2):

  1. Just manually deleted local profiles in ~/Library/MobileDevice/Provisioning Profiles.

  2. Deleted and created all the certificates and provisioning profile from developers account.

  3. Removed developers account from Xcode and re-added it.

Solved my problem! :-)

查看更多
三岁会撩人
3楼-- · 2019-01-07 04:18

"Enable automatic signing" and then selecting a team from the drop-down menu helped me with this exact problem.

查看更多
等我变得足够好
4楼-- · 2019-01-07 04:19

I unchecked and then checked the "Automatically manage signing" option. That fixed it for me.

查看更多
倾城 Initia
5楼-- · 2019-01-07 04:21

Check your keychain for identities that are missing a private key. I had multiple distribution certificates installed for the same team, one of which was missing the private key. Xcode was only checking the first matching identity in the keychain and automatically using this as opposed to the one that did include the private key.

enter image description here

Removing the matching identity that didn't have a private key made Xcode detect the correct identity again.

查看更多
啃猪蹄的小仙女
6楼-- · 2019-01-07 04:21

For those who should keep using not auotamatic for some reason

Open keyChain Access to see whether there are two same Certifications ,If there's two or more,Just Delete to one and it will work :)

查看更多
女痞
7楼-- · 2019-01-07 04:21

Had the same error. Profiles seems renewed, new certificates added, i even checked it when download. Also revoked former developer's certificates, excluded from provision profile. But Xcode still asking me about previous certificates with error:

No certificate for team 'MY_TEAM' matching 'iPhone Developer: FORMER_DEVELOPER' found

so, what i did to fix it:

  1. Go Build Settings -> Signing -> Code Signing Identity
  2. Find all 'FORMER_DEVELOPER' certificates and choose needed.

Hope it will help somebody.

查看更多
登录 后发表回答