xcode 未找到 iOS 有效签名身份
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18774954/
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
iOS Valid signing identity not found
提问by Patricia
I see this questions comes up a lot, but no answers for me. I have revoked the previous Development and Distribution Certificates and generated new ones. I have downloaded both certificates and installed them by double-clicking. In my Keychain Access I can see my certificates and they have a green circle with a check mark saying "This certificate is valid".
我看到这个问题出现了很多,但没有给我答案。我已经撤销了以前的开发和分发证书并生成了新的证书。我已经下载了两个证书并通过双击安装了它们。在我的钥匙串访问中,我可以看到我的证书,它们有一个带有复选标记的绿色圆圈,上面写着“此证书有效”。
Then I created my new Development and Distribution Provisioning Profiles and downloaded them. They have a green button showing they are Active. I drag the downloaded Provisioning Profiles over to my Xcode icon. I open Xcode Organizer and click on LIBRARY --> Provisioning Profiles. They are there with today's date on them but the status is "Valid signing identity not found"
然后我创建了我的新开发和分发配置文件并下载了它们。它们有一个绿色按钮,显示它们处于活动状态。我将下载的 Provisioning Profiles 拖到我的 Xcode 图标上。我打开 Xcode Organizer 并单击 LIBRARY --> Provisioning Profiles。他们在那里,上面有今天的日期,但状态是“未找到有效的签名身份”
What's the missing step here?
这里缺少的步骤是什么?
回答by Patricia
I got some help from someone who understands the Keychain Access tool. The problem was that I had multiple certifications and XCode was getting confused.
我从了解钥匙串访问工具的人那里得到了一些帮助。问题是我有多个认证,而 XCode 变得很困惑。
Thanks everybody.
谢谢大家。
回答by incmiko
Don't forget to set Code Signing Identity under Build Settings !
不要忘记在 Build Settings 下设置 Code Signing Identity!
You have to set all to the same code signing .
您必须将所有设置为相同的代码签名。
And you have to do it in your Project, and Targets too !
你必须在你的项目和目标中做到这一点!
Hope this helps!
希望这可以帮助!
回答by LuisCien
If you're still using XCode 4.X you could try Organizer->Library(top left)->Refresh(bottom right) and see if that solves the problem for you.
如果您仍在使用 XCode 4.X,您可以尝试 Organizer->Library(左上)->Refresh(右下),看看是否能解决您的问题。
Hope this helps!
希望这可以帮助!