签名者无效错误 [英] Signer not valid error

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

问题描述

我已经为我的应用创建了一个临时版本,并希望其他人安装它.我在配置文件中有他们的设备 ID(实际上是两个).我的证书对于临时和应用程序商店配置是相同的.证书在钥匙串中有效.我在 Xcode 中为此构建选择了临时配置文件,该配置文件链接到分发证书.

I've created an ad hoc build of my app and would like another person to install it. I have their device ID (two actually) in the provisioning profile. My certificate is the same for ad hoc and app store provisioning. The certificate is valid in keychain. I've selected the ad hoc profile in Xcode for this build, which is linked to the distribution certificate.

我向用户发送了配置文件和 .app 文件.他们将两者都放入 iTunes 并同步,然后在两台设备上都出现此错误:

I send the user the provisioning file and .app file. They drop both into iTunes and sync then get this error on both devices:

The application "myapp" was not installed on the iPhone "user's iPhone" because the signer is not valid.

我已从 iPhone 中删除了所有配置文件,将上述两个文件放入 iTunes,同步并成功安装了该应用程序.我无法让它为我重现.我需要在本地重现这个问题以找出问题所在.有什么想法可以做到吗?

I've removed all profiles from my iPhone, dropped the above two files into iTunes, sync'd and installed the app successfully. I can't get it to repro for me. I need to repro this problem locally to figure out the issue. Any ideas how that can be done?

推荐答案

您是否添加了权利?将签名放在目标级别,而不是项目级别?选择 Ad Hoc 配置文件?在构建之前进行清洁吗?选择构建的 Ad Hoc 设备?

Did you add Entitlements? Put the signing at the Target level, not the Project level? Select the Ad Hoc profile? DO a clean prior to the build? Select the Ad Hoc Device foe the build?

最好的办法是完全遵循 Apple 的文档,让您的构建设置完全匹配 Apple 的设置.

The best bet is to follow Apple's documentation exactly, get your build settings to exactly match Apple's.

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

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