XCode 4.5 中的代码签名标识

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14468896/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 02:35:38  来源:igfitidea点击:

Code Signing Identity in XCode 4.5

iosxcodesigning

提问by Jan Gifvars

I get this message when I start a build to my device in Xcode; Code Sign error: A valid provisioning profile matching the application's Identifier 'vindfyrar2' could not be found

当我在 Xcode 中开始构建我的设备时,我收到此消息;代码签名错误:找不到与应用程序标识符“vindfyrar2”匹配的有效配置文件

I've been through all the certificate/provisioning profile verification process. I have valid provisionings profiles installed on my device in xcode organizer. What I think is my problem is that I can't see any provisioning profiles in the target or project build settings -> code signing identity.

我已经完成了所有证书/配置文件验证过程。我在 xcode 管理器中的设备上安装了有效的配置文件。我认为我的问题是我在目标或项目构建设置 -> 代码签名标识中看不到任何配置文件。

Take a look at the pictures below please!

请看下面的图片!

http://i.stack.imgur.com/qu9M4.pnghttp://i.stack.imgur.com/q9Njf.png

http://i.stack.imgur.com/qu9M4.pnghttp://i.stack.imgur.com/q9Njf.png

Anyone please have some time to help me?

有人请有时间帮助我吗?

回答by Patrick Goley

Whenever I encounter this problem, I find that restarting Xcode and selecting a different provisioning profile in your project (not target) build settings will cause the list to refresh. If you see no profiles anywhere, download them again from your apple developer center and drag them into the Organizer's Provisioning Profiles pane.

每当我遇到这个问题时,我发现重新启动 Xcode 并在您的项目(非目标)构建设置中选择不同的配置文件将导致列表刷新。如果您在任何地方都看不到配置文件,请从您的苹果开发人员中心再次下载它们并将它们拖到管理器的配置文件窗格中。

回答by jsd

In the project build settings, set the Code Signing Identity to Automatic Profile Selector (iPhone Developer). Now check that Code Signing menu again, it should say "(currently matches: iPhone Developer: Jan Gifvars (xxxx) in 'iOS Team Provisioning Profile:*)". If it doesn't, you need to make sure you've got proper private key, certificate, and provisioning profiles. Follow ALL the steps in this tech note. https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

在项目构建设置中,将代码签名标识设置为自动配置文件选择器(iPhone 开发人员)。现在再次检查代码签名菜单,它应该显示“(当前匹配:iPhone 开发人员:Jan Gifvars (xxxx) in 'iOS Team Provisioning Profile:*)”。如果没有,您需要确保您拥有正确的私钥、证书和配置文件。遵循本技术说明中的所有步骤。 https://developer.apple.com/legacy/library/technotes/tn2250/_index.html