应用程序未通过协同设计验证? [英] Application failed codesign verification?

查看:24
本文介绍了应用程序未通过协同设计验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在提交我的 iphone 应用程序时遇到问题.我看到了一些类似的问题,但我没有找到答案.

当我归档项目并单击验证时,我收到错误消息应用程序未能通过代码验证.签名无效,或者未使用 Apple 提交证书签名."

我假设我在代码设计部分做错了什么.我遵循了 ,但证书没有出现在代码签名选项下.任何帮助将不胜感激,谢谢

这是我在钥匙串访问中所拥有的.带有 x 的证书是我在教程中尝试创建的证书.我是否可能需要将它们导入 xcode?我尝试拖放到项目和组织者中,但无济于事.

解决方案

您的 Build 设置似乎具有 RELEASE 版本的 DEVELOPER 证书.

为了验证和提交二进制文件,您必须将发布版本配置为使用 DISTRIBUTION 证书.

创建并下载分发证书并将其导入(拖放到 Xcode).

配置构建/发布以使用分发证书.如果您没有看到新的分发证书作为构建选项,请检查用于生成证书和构建设置的 AppleID.它们必须相同,否则 Xcode 无法正确签署您的应用.

这将解决您的问题.

I'm having problems submitting my iphone application. I saw some similar questions, but I didn't find an answer.

When I archive the project and click validate, I get the error message "Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate."

I'm assuming I did something wrong in the codesigning section. I followed a youtube tutorial that had me download all the certificates and set up the codesigning section, but I don't think I set up the codesign section correctly.

Additionally, when I build for iOS I get this. In all the tutorials I've seen, no one actually has "" written out, so it's possible that this is related to the problem.

I am not getting Ear Training (name of my app) as an option under the menu of distribution. I downloaded all the distribution certificates, so I can't figure out what I'm doing wrong. I also tried making my own certificate, as instructed by this tutorial, but the certificate does not appear under the code signing options. Any help would be appreciated, Thanks

this is what I have in keychain access. The certificate with the x is the one I tried creating in the tutorial. Is it possible that I need to import them to xcode? I tried dragging and dropping into the project as well as the organizer, but to no avail.

解决方案

Your Build settings appears to have a DEVELOPER certificate for the RELEASE version.

In order, to validate and submit a binary you've to configure the release version to use a DISTRIBUTION certificate.

Create and download a Distribution certificate and import it (drag and drop to Xcode).

Configure the build/release for using the distribution certificate. If you don't see the new distribution certificate as an option for your build, check the AppleID used both for generate the certificate and for your Build settings. They must be the same, otherwise Xcode can't sign your app correctly.

This will solve your problem.

这篇关于应用程序未通过协同设计验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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