验证/提交错误:应用程序未通过协同设计验证 [英] Validation/Submission error: Application failed codesign verification

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

问题描述

我有许多几乎相同的应用程序(除了一些常量、图像和一个 sqllite 数据库文件).我以前从未在提交它们时遇到过任何问题,但是今天其中一项更新在验证/提交时出现以下错误(注意:我过去曾更新过此应用程序,但没有出现任何问题):

I have a number of apps that are almost identical (with the exception of a few constants, images, and a sqllite database file). I've never had any issues submitting them before, however today one of the updates gave the following error when validating/submitting (note: I have updated this app in the past with no issues):

应用程序未通过协同设计验证.签名无效,或者未使用 iPhone 分发证书签名.

我花了一整天的时间来尝试一切以使其正常工作.我什至将整个项目文件夹与另一个应用程序(今天成功提交)进行了比较,并且所有构建/签名设置完全相同(除了包标识符、版本号等).我什至(作为最后的手段!)撤销了证书并重新生成了所有内容,包括配置文件.

I've spent all day trying everything to get this to work. I even diff'd the entire project folder against another app (which submitted successfully, today), and all build/signing settings are exactly the same (except bundle identifier, version number, etc.). I've even (as a last resort!) revoked the certificate and re-generated everything, including provisioning profiles.

我已经完成了此处列出的所有步骤:https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933

I've been through all of the steps listed here: https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933

但是,如果我从管理器共享"应用程序并保存到磁盘,运行 codesign -dvvv 表示它根本没有签名(但是,这种情况发生在那些有效的应用程序中!).不知道如何运行它,因为生成的文件(并在管理器中显示)不是 .app 文件.

However, if I "Share" the app from the Organizer and save to disk, running codesign -dvvv says it's not signed at all (however, this happens with the ones that worked!). Not sure how else to run this, as the file generated (and shown in Organizer) is not a .app file.

我完全不知道如何弄清楚这有什么问题,或者为什么它与其他人有任何不同.我似乎无法从组织者那里获得更多信息.该应用的构建方式与其他应用完全相同,项目文件等完全相同(除了图像/名称等预期差异).

I'm at a total loss how to figure out what's wrong with this, or why it's any different to the others. I don't seem to be able to get any more information out of the Organizer. The app was built exactly the same way as the others, and the project files etc. are identical (except for expected differences like images/names).

推荐答案

好的,解决了这个问题...我希望我早点尝试这个,因为它今天可以为我节省很多时间!

Ok, fixed this... I wish I'd tried this sooner, as it would've saved me many hours today!

这个应用程序的 App Store 配置文件似乎在某种程度上损坏了 - 不是在我的 Mac 上,而是在 Apples 服务器上.我今天下载了它很多次,但没有成功.我刚刚发现在验证期间选择 Ad-Hoc 配置文件有效,这让我相信它是特定于 App Store 的.所以我从 iOS 开发仪表板中删除App Store 配置文件,然后重新创建它,下载它,它工作了!

It seems that the App Store provisioning file for this app was somehow corrupt - not on my Mac, but on Apples servers.. I downloaded it many times today, with no luck. I just discovered that selecting the Ad-Hoc profile during Validation worked, which led me to believe it was specific to the App Store one. So I deleted the App Store provisioning file from the iOS dev dashboard, then recreated it, downloaded it, and it worked!

在我删除它之前,我编辑了它,一切都设置正确,到期日期是从现在起 6 个月,所以我只能假设某些东西坏了 Apple 的一面(即使我确定同一个文件在过去!):-(

Before I deleted it, I edited it, and everything was set correctly, and the expiration date was 6 months from now, so I can only assume something was broken Apple's side (even though I'm sure this same file worked in the past!) :-(

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

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