Xcode 5中的代码签名 [英] Code Signing in Xcode 5

查看:32
本文介绍了Xcode 5中的代码签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在用Xcode 5验证我的应用程序时遇到问题.我在2周前以Xcode 4的罚款提交了更新.我没有碰过任何证书或配置文件.

I am having issues validating my app in Xcode 5. I submitted an update 2 weeks ago with Xcode 4 fine. I hadn't touched any of my certificates or provisioning profiles.

当我尝试验证时,我得到:

When I try to validate, I get:

当我尝试下载身份时,Xcode崩溃了.

When I try to download an identity, Xcode crashes on me.

我进入了偏好-> 帐户,并重新填写了我的签名身份和配置文件:

I went into prefrence -> accounts and refeshed my Signing Identities and Provision Profiles:

所以我有身份和个人资料.现在,在代码签名"下的构建设置"中需要什么?

So I have the identies and profiles. What does it need in the Build Settings under Code Signing nows?

更改了代码签名:

推荐答案

两件事:

  1. 发布"下的签名身份实际上应该是iOS发行版,而不是Developer.AdHoc签名身份也是如此.

  1. The signing identities under "Release" should really be iOS Distribution, not Developer. Also true of the AdHoc signing identities.

我将签入钥匙串以查看其具有的签名身份.如果您有任何过期的证书,请将其删除.他们会混淆XCode.

I would check in the keychain to see what signing identities it has. If you have any expired certificates, delete them. They can confuse XCode.

再三考虑,您有多个团队配置概要很奇怪,您可能希望删除所有这些并重新下载.

On further reflection, it is odd that you have multiple Team Provisioning Profiles, you may want to remove all of those and download them again.

这篇关于Xcode 5中的代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆