简体   繁体   中英

iOS Distribution Certificate issue in Xcode 8

I donwloaded from Certificates, Identifiers & Profiles in Apple Developers Provision Profiles and in my Xcode 8 I set Automatically manage signing . So Xcode does everything for me.

But when I try to export my build I see this error:

在此处输入图片说明

Can I solve that problem or I should reset it? I have the app in APpStore already, so this is update version and I'm afraid that this will affect the app in AppStore.

Is there a good and safe solution of that problem in Xcode 8?

此证书不会影响正在存储的应用程序...尝试将其重置或从Apple Developer下载新证书并将其导入到Mac的钥匙串中

If you have access to the mac you used to originally build the app for App Store distribution, you can get the private key for the app store distribution certificate.

To do that, go onto the original Mac, open the Keychain Access app, find the iOS Distribution certificate. If everything is correct, you will see a little triangle that will let you expand the cert to see the private key associated with it. Right click the key and choose "Export". Take the .p12 file created when you export the key and open it on the new Mac. You should see it appear underneath the iOS Distribution cert in the new Mac's Keychain Access app.

If you don't have access, or if your keys / certs are messed up, you can simply generate a new certificate (along with a new key) and tie the iOS Distribution profile to the new certificate. It won't affect your current app in the App Store, as long as it is all done under the same Apple developer account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM