xcode 未找到有效签名身份状态
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12506605/
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 status
提问by FBLover2011
In my Xcode > Organizer > Devices
在我的 Xcode > Organizer > Devices
I have created a distribution Provisioning Profile created today by selecting the distribution certificate from the provisioning portal and the App ID.
我通过从供应门户和 App ID 中选择分发证书,创建了今天创建的分发供应配置文件。
But the status of the provisioning profile inside the Organizer shows "Valid Signing Identity not found"
但是组织者内的配置文件的状态显示“未找到有效签名身份”
I have doubled check in my MacBook Keychain Access, it has the certificate that is exactly from the Provisioning Portal's Certificates > Distribution.
我已经仔细检查了我的 MacBook Keychain Access,它具有完全来自 Provisioning Portal 的 Certificates > Distribution 的证书。
I have downloaded the cert from provisioning profile, double clicked on the .cer file and it just open the Keychain Access.
我已经从配置文件下载了证书,双击 .cer 文件,它只是打开了钥匙串访问。
Yet, I still have the same issue.
然而,我仍然有同样的问题。
What should I do?
我该怎么办?
回答by Stackie
all your xcode certificates in keychain needs to be set to (Use System Defaults)not, approved always ORnever approved. you can see them by double clicking them.
Xcode > Organizer > Devices > Teams: "Identity valid for signing", needs to be imported, and have green marks on it/them.
Xcode > Targets > "your project" > build setting > code signing> set them to "Automatic Profile Selector" then Iphone developer or distribution, in your case Distribution.
钥匙串中的所有 xcode 证书都需要设置为(使用系统默认值)不、始终批准或从未批准。您可以通过双击它们来查看它们。
Xcode > Organizer > Devices > Teams:“签名有效的身份”,需要导入,并且上面有绿色标记。
Xcode > 目标 > “你的项目” > 构建设置 >代码签名> 将它们设置为“自动配置文件选择器”,然后是 Iphone 开发人员或分发,在你的情况下是分发。
clean & build
清洁和构建
if it doesn't work try changing "Code signing", Also certificates should be showed in the code signing.
如果它不起作用,请尝试更改“代码签名”,代码签名中也应显示证书。
This was my biggest problem off all time, it was annoying.. Hope It helps!
这是我一直以来最大的问题,很烦人..希望它有帮助!
let me know if theres still a problem!
如果还有问题,请告诉我!