代码签名授权无效 - 不支持数据保护密钥 [英] Invalid Code Signing Entitlements - Data Protection key not supported

查看:204
本文介绍了代码签名授权无效 - 不支持数据保护密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



原因是:


我们已经发现您最近发送的一个或多个问题
安全发送。要处理您的交货,以下问题必须更正为



无效的代码签名权利 - 您的应用程序包的
签名包含代码签名授权不支持。
请检查您的Xcode项目的代码签名授权
配置,并删除任何不需要的权利。



具体来说,键com.apple。开发人员.default-data-protection不支持



一旦这些问题得到纠正,请转到版本详细信息页
,然后点击准备上传二进制。继续提交
进程,直到应用程序状态为等待上传。然后,您可以
提供更正的二进制。


我发现这个问题出现完全相同的问题。标记的解决方案是禁用配置配置文件中的数据保护。但是,当我这样做我的应用程序不能使用数据保护安全地存​​储文件,它应该做什么!



我还尝试禁用数据保护,但所有文件是存储在 DataProtectionClassNone 中,无论设置了哪个保护等级。



提前感谢!

解决方案

好的,这是绝对不被弃用! iOS6将推出这个设置,因为我的iOS6测试版已经有这些设置。这就是为什么我们的二进制文件无效。



我们的部署目标设置为iOS5,但这个配置密钥将在iOS6中引入。因此,自动二进制检查失败,因为它不知道iOS5应用程序的这个标志。



更多信息:


  1. https://devforums.apple.com/message/687733

  2. https://devforums.apple.com/message/702754


I have received an mail from Apple that my app has been rejected.

The reason is:

We have discovered one or more issues with your recent delivery for "Secure Send". To process your delivery, the following issues must be corrected:

Invalid Code Signing Entitlements - Your application bundle's signature contains code signing entitlements that are not supported. Please check your Xcode project's code signing entitlements configuration, and remove any unneeded entitlements.

Specifically, key "com.apple.developer.default-data-protection" is not supported.

Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

I have found this question where the exactly same issue appears. The marked solution is to disable data protection in the provisioning profile. But when I do this my app cannot store the files securely using data protection, what it definitely should do!

I have also tried to disable Data Protection but then all files are stored in DataProtectionClassNone regardless which protection class is set.

Thanks in advance!

解决方案

Okay, it is definitely not deprecated! It will be introduced with iOS6 and I had these settings because of my iOS6 Beta. That's the reason why our binary was invalid.

Our deployment target was set to iOS5 but this configuration key will be introduced with iOS6. So the automatic binary check failed because it didn't know this flag for iOS5 apps.

More on this:

  1. https://devforums.apple.com/message/687733
  2. https://devforums.apple.com/message/702754

这篇关于代码签名授权无效 - 不支持数据保护密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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