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

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

问题描述

我收到了一封来自 Apple 的邮件,说我的应用被拒绝了.

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

原因是:

我们发现您最近的交货有一个或多个问题安全发送".要处理您的交货,必须解决以下问题更正:

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

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

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.

具体来说,关键com.apple.developer.default-data-protection"不是支持.

更正这些问题后,请转到版本详细信息页面并单击准备上传二进制文件".继续提交直到应用程序状态为等待上传".然后你可以交付更正后的二进制文件.

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!

我也尝试禁用数据保护,但无论设置了哪个保护级别,所有文件都存储在 DataProtectionClassNone 中.

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

提前致谢!

推荐答案

好的,绝对不会弃用!它将在 iOS6 中引入,由于我的 iOS6 Beta,我有这些设置.这就是我们的二进制文件无效的原因.

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.

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

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.

更多相关信息:

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

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

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