Mac App Store 无效签名问题 [英] Mac App Store invalid signature issues

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

问题描述

我最近向 Mac App Store 提交了一个应用程序,并收到了一封电子邮件,通知我该版本包含带有无效签名的资源(总共两个):

I've recently submitted an application to the Mac App Store and have received an email informing me that the build contains resources (two in total) that carry an invalid signature:

我们发现您最近的二进制文件存在一个或多个问题提交X".您的应用程序已进行审核,但以下问题应在您下次提交时更正:

We have discovered one or more issues with your recent binary submission for "X". Your app has proceeded to review, but the following issues should be corrected in your next submission:

无效签名 - 嵌套的应用程序包 Y 不是签名,签名无效,或未与 Apple 签名提交证书.请参阅代码签名和应用程序沙盒指南了解更多信息.

Invalid Signature - the nested app bundle Y is not signed, the signature is invalid, or it is not signed with an Apple submission certificate. Refer to the Code Signing and Application Sandboxing Guide for more information.

我已阅读链接的代码签名和应用程序沙盒指南,但不幸的是,我对如何正确签署这些资源一无所知.第一个是可执行文件,第二个是框架.我没有手动编译.

I've read the linked Code Signing and Application Sandboxing Guide but am unfortunately none the wiser as to how I'd go about correctly signing these resources. The first is an executable and the second is a framework. Neither of which I compile manually.

正确签署这些资源的正确方法是什么?

What's the correct way of correctly signing these resources?

推荐答案

您很可能拥有未签名的嵌入式框架.如果将 Xcode 与框架子项目或包含复制到应用程序包中的框架一起使用,则它们必须经过代码签名.

You most likely have embedded Frameworks which are not signed. If are using Xcode with sub projects that are Frameworks or have included frameworks which are copied into the application bundle, they must be code signed.

解决此问题的一种简单方法是使用静态库而不是框架.

One simple way around this is to use static libraries instead of Frameworks.

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

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