Xcode-8 (8A218a): Value of Data Protection entitlement isn't displayed in archive entitlement summary

Originator:craig
Number:rdar://28259347 Date Originated:12-Sep-2016 04:03 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-8 (8A218a)
Classification:Other Bug Reproducible:Always
 
Summary:
Until recently the value of the Data Protection entitlement that’s set in my embedded provisioning profile was displayed in the archive summary pane that is displayed prior to submitting an IPA to the App Store in Xcode. This no longer happens as of Xcode 8.

It was useful to check that the build had the correct value before submission, especially as we’ve been bitten a few times by this issue: https://forums.developer.apple.com/message/63596#63596.

This may be related to rdar://28259096, in which this entitlement value no longer appears in the build summary page within iTunes Connect.

I’ve double checked the archives that I’m creating and the embedded.mobileprovision file definitely has the correct entitlement within it. 

Without either method of validating the submitted value of this entitlement I’ve no way of knowing whether the app I’m distributing to my users has the correct entitlement.

Steps to Reproduce:
Set up an app with a Data Protection entitlement (e.g. NSFileProtectionCompleteUntilFirstUserAuthentication), and create an archive via Xcode. Attempt to export the archive as a signed package for App Store deployment, choose a development team, then inspect the entitlements of the resulting package in the view that subsequently appears.

Expected Results:
Within the entitlements should be an entry for Data Protection, and it should match the value in the embedded provisioning profile (NSFileProtectionCompleteUntilFirstUserAuthentication in this case).

Actual Results:
No such entry appears.

Regression:
I believe this was working the last time I submitted a package using Xcode 7.1.

Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!