IOS application update - lost private key

时光怂恿深爱的人放手 提交于 2020-01-06 01:54:25

问题


I have an IOS application for a client and I need to push it as an update to the existing app. I already received the credentials of the itunesconnect account which includes the application however here is my problem.
I don't have the private key which was used to publish the initial application which according to the below could cause a problem.
The private key is locally stored on the Mac device (in this case, the old vendor).
In the wrong hands, someone might attempt to distribute an app that contains malicious code. Not only could that cause the app to be rejected, it could also mean our developer credentials could be revoked by Apple.

Is there a way to retrieve the old key?

In the case where I sign the application with another certificate, will still go as an update to the existing one?


回答1:


Your fears are unfounded.

In the wrong hands, someone might attempt to distribute an app that contains malicious code

Don't forget that they would also need your team agent's credential to submit the app. Even if they have the private key, they wouldn't be able to submit anything.

Is there a way to retrieve the old key?

No need to retrieve the old key, just revoke it from the provisioning portal and generate a new one.

In the case where I sign the application with another certificate, will still go as an update to the existing one?

App updates are based upon bundle ID and not the code signing certificate. App submitted with the new certificate would still be considered an update, if the bundle ID is same.




回答2:


Create new Distribution certificates and upload latest build with new version, this will go as update to users.



来源:https://stackoverflow.com/questions/35454548/ios-application-update-lost-private-key

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