DataProtectionClass of NSFileProtectionComplete doesn't work

Originator:hamish
Number:rdar://11545561 Date Originated:Mon, 28 May 2012 21:57:36 GMT
Status:Duplicate/11417646 Resolved:
Product:iPhone SDK Product Version:5.1.1
Classification:Serious Bug Reproducible:Always
 
Summary:
The latest version of Xcode prompts me to upgrade my entitlements to the new default DataProtectionClass of NSFileProtectionComplete -- which I would love to do -- but then won't let me run my app, complaining that the executable was signed with invalid entitlements. (0xE8008016).

Steps to Reproduce:
As above.

Expected Results:
No error

Actual Results:
Error as above, with detail "The entitlements.plist specified in your application's Code Signing Entitlements file do not match those specified in your provisioning profile". (My provisioning profile is the automatic team one.)

Regression:
No

Notes:
Thanks!

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!