Can't validate iOS app (getting already has valid certificate)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 15:31:07

问题


When switching to Yosemite I did a clean install of my Mac and now I'm having issues submitting my iOS to the store.

When I validate my archive I keep getting "Your account already has a valid iOS Distribution certificate".

I have tried renaming and redownloading my certificate from the member center but that didn't work.


回答1:


A very common "doh!" is you copied over the relevant item in Keychain,

BUT!

you forgot the private key part:

So fi the disclosure triangle on the left is missing and the "key" symbol part is missing, that's what's happened.

Solution: just EXPAND the triangle and highlight BOTH parts, then click export. move the file to your other Mac and open.


ALSO -- don't forget, in Xcode you have to literally login these days.

Xcode - Preferences - second tab == Accounts

It's easy to forget, say, one of your various client's accounts there.




回答2:


The App Distribution Guide on the Apple Dev site states that this can be a frequent problem if moving from one mac to another (or re-installing in this case). A simple fix would be to export your certificates as a developer profile file from your previous install, but you probably don't have a back up readily available. Try clicking the 'revoke and request' button and see if you can re-download your developer profile file.

Hope this helps, Will



来源:https://stackoverflow.com/questions/26585334/cant-validate-ios-app-getting-already-has-valid-certificate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!