获取“应用程序失败的代码签名验证。 ......“将配置配置添加到xcode后发出警告 - 如何解决? [英] Getting "Application failed codesign verification. ... " warning after adding Distribution configuration to xcode - how to solve this?

查看:123
本文介绍了获取“应用程序失败的代码签名验证。 ......“将配置配置添加到xcode后发出警告 - 如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过向xcode添加分发配置的过程一步一步地进行了大约5个小时。



之后,即使是我使用我的调试配置构建:

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

我唯一需要做的就是:
我' ve添加了一个奇怪的权利文件,就像Apple在Provisioning Portal中所说的那样。完全是他们说的。



我可以构建我的应用程序并在设备上运行,但我收到了警告。怎么办?有什么方法可以解决这个问题,还是我必须从头开始另外3天?

解决方案

右键点击你的目标,选择获取信息并单击构建选项卡。更改配置菜单以匹配正确的分发方法(即Ad Hoc Distribution或App Store Distribution)。然后转到代码签名身份的代码签名部分。您的分发证书是否在此处指定?



我假设您正在进行Ad Hoc构建,因为这是使用Entitlements.plist文件的唯一构建类型。 / p>

I went step-by-step for about 5 hours through the process of adding an Distribution configuration to xcode.

After that, I keep getting this error even when I build with my Debug Configuration:

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

The only weird thing I had to do was this: I've added an strange "Entitlement" file the way Apple said in the Provisioning Portal. Did exactly what they said.

I can build my app and it runs on the device, but I get that warning. Now what? Any way to solve this, or must I start from scratch for another 3 days?

解决方案

Right-click on your Target, choose Get Info and click on the Build tab. Change the Configuration menu to match the correct distribution method (i.e. Ad Hoc Distribution or App Store Distribution). Then go to the "Code Signing" section, Code Signing Identity. Is your distribution certificate specified here?

I'm assuming you're doing an Ad Hoc build, since that's the only build type that uses the Entitlements.plist file.

这篇关于获取“应用程序失败的代码签名验证。 ......“将配置配置添加到xcode后发出警告 - 如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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