Invalid code entry rights - data protection key is not supported

I received an email from Apple that my application was rejected.

The reason is this:

We have detected one or more problems with your recent delivery for Secure Transfer. To process your delivery, the following should be fixed:

Invalid code signing rights - your signature application package contains code signing rights that are not supported. Please check the permissions of the Xcode project project code and remove any unnecessary rights.

In particular, the key "com.apple.developer.default-data-protection" is not supported.

Once these issues are fixed, go to the version information page and click Finish to Download Binary Files. Continue browsing until the status of the Download Pending application. Then you can deliver the corrected binary.

I found this question where exactly the same problem appears. The marked solution is to disable data protection in the provisioning profile. But when I do this, my application cannot safely store files using data protection, which it definitely should do!

I also tried disabling data protection, but then all files are stored in DataProtectionClassNone no matter what protection class is set.

Thanks in advance!

+1
iphone app-store itunesconnect encryption data-protection
source share
2 answers

Well, it is definitely not out of date ! It will be introduced with iOS6, and I had these settings due to my beta version of iOS6. This is the reason our binary code was invalid.

Our deployment target was set on iOS5, but this configuration key will be introduced with iOS6. Thus, the automatic binary check failed because she did not know this flag for iOS5 applications.

More on this:

+1
source share

It is deprecated in iOS 5, and I believe that it should completely go to iOS 6. You need to use calls using system encryption instead of using transparent encryption; there's a great project called RNCryptor that packs all this for you.

You will also need SNAP-R from the government to legally use encryption in iOS. Apple will ask for your ERN when sending it.

-one
source share

All Articles