Codesign:什么是未密封的内容? [英] Codesign: What are unsealed contents?

查看:25
本文介绍了Codesign:什么是未密封的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到 XCode 6 并尝试构建我的 Developer ID 签名的 Mac 应用程序.但是,我现在收到以下协同设计错误:

I have just upgraded to XCode 6 and tried to build my Developer ID signed Mac app. However, I now get the following codesign error:

unsealed contents present in the root directory of an embedded framework

这适用于我使用的 Dropbox.framework.显然不能签字.错误是什么意思?怎么了?

This applies to the Dropbox.framework that I use. Obviously that could not be signed. What does the error mean? What is wrong?

推荐答案

看看 深入 OS X 代码签名

从 OS X 10.9.5 版开始,OS X 识别签名应用的方式将会发生变化

Beginning with OS X version 10.9.5, there will be changes in how OS X recognizes signed apps

根据对操作系统的期望构建您的包X 10.9 或更高版本:

Structure your bundle according to the expectations for OS X version 10.9 or later:

  • 仅在应包含已签名的目录中包含已签名的代码代码.
  • 只包含目录中应该包含的资源
    资源.
  • 不要使用 --resource-rules 标志或 ResourceRules.plist.他们已过时,将被拒绝.

这篇关于Codesign:什么是未密封的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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