Mac App Store invalid signature issues

两盒软妹~` 提交于 2019-12-08 06:50:58

问题


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:

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:

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?


回答1:


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.



来源:https://stackoverflow.com/questions/8872125/mac-app-store-invalid-signature-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!