在 Xcode 中找不到有效的签名身份
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14996463/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Valid Signing identity Not Found in Xcode
提问by DineshKumar
Actually i developed an app using my own developer certificates and provisioning profile. Now i need to publish it on my client developer account and my client sent his distribution certificate along with provisioning .And I have installed the certificate and then i drag the provisioning profile to xcode, and i have got error message like "Valid signing identity not found"
实际上,我使用自己的开发人员证书和配置文件开发了一个应用程序。现在我需要将它发布到我的客户开发者帐户上,我的客户发送了他的分发证书和配置。我已经安装了证书,然后我将配置文件拖到了 xcode,我收到了类似“有效签名身份不成立”
Please assits me.
请帮帮我。
采纳答案by Guru
Change code sign in project settings.
更改代码登录项目设置。
回答by Dilip
You need p12 file from your client to use its developer certificate and provisioning profile.When your client provide you that p12 file than double click that file and its run perfectly.
您需要来自客户端的 p12 文件才能使用其开发人员证书和配置文件。当您的客户端向您提供该 p12 文件时,请双击该文件并完美运行。
And for geting p12 file ,select the cert, and open the arrow to also select the private key and export them together as a .p12 file from Keychain Access.
要获取 p12 文件,请选择证书,然后打开箭头也选择私钥并将它们一起作为 .p12 文件从 Keychain Access 导出。
回答by Vishal
You need the private keys that were used to sign the certificate. If you don't have them
您需要用于签署证书的私钥。如果你没有它们
anymore you can generate a new signing request.
您可以再生成新的签名请求。
回答by Alexander
There are several ways to solve this issue.
有几种方法可以解决这个问题。
The first one is, to export your developer certificate including the associated key from your keychain and importing it on your client machine.
第一个是,从您的钥匙串中导出您的开发人员证书,包括关联的密钥,并将其导入到您的客户端计算机上。
The other way would be (If your client machine would use another apple dev account) to go through those steps listed here Apple Certification & Provisioning
另一种方法是(如果您的客户端机器将使用另一个 Apple 开发帐户)完成此处列出的步骤Apple Certification & Provisioning
I would recommend to delete the old certificates from xcode, sometimes xcode might lag otherwise
我建议从 xcode 中删除旧证书,否则有时 xcode 可能会滞后