签名仅对ad hoc无效 [英] Signature invalid only for ad hoc

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

问题描述

我不知道我的广告代码有什么变化,但尝试安装时遇到此错误:

I'm not sure what changed on my ad hocs but I get this error when trying to install:

应用程序失败的代码签名验证。签名无效,或者未使用Apple提交证书签名。 (-19011)

Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)

设备调试生成正常。与我的临时配置配置文件关联的证书不会过期,直到2011年。我搜索Google,但没有找到任何适用的解决方案,除了一些提及删除和重新创建证书。

Device debug builds fine. The cert that is associated with my ad hoc provisioning profile doesn't expire until 2011. I've searched Google but haven't found any applicable solution, except some mention about deleting and recreating the certs. Before I go down that rode, has any one experienced and resolved this issue?

我正在使用Xcode 3.2.3并构建对sdk 3.0。

I'm using Xcode 3.2.3 and building against sdk 3.0.

推荐答案

有时我也得到这个问题。您的手机上是否有过期的个人资料?我发现有时过期的配置文件(即使它是一个不同的应用程序)将导致调试生成不安装。

Sometimes I get this issue as well. Do you have any expired profiles on your phone? I find that sometimes expired profiles (even if it is for a different application) will cause debug builds to not install.

如果其他所有操作失败,请从Keychain Access中的Apple删除与您的开发人员帐户相关联的所有证书。获取新证书,并修改配置文件以反映新证书。这是一个巨大的痛苦,但如果所有的失败,这工作。

If all else fails, delete all the certificates associated with your developer account from Apple in Keychain Access. Get yourself a new certificate, and modify the provisioning profiles to reflect the new certificate. This is a huge pain, but if all else fails, this works.

希望这有助于!

这篇关于签名仅对ad hoc无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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