iTunes Connect upload required both HealthKit Info.plist descriptions

Originator:alexito4
Number:rdar://36431374 Date Originated:11-Jan-2018 09:24 am
Status:Open Resolved:
Product:iOS + SDK Product Version:11.2
Classification:Other Bug Reproducible:Always
 
Summary:
When using HealthKit in an app you need to add the privacy descriptions to the Info.plist. 
For HealthKit those are:
NSHealthShareUsageDescription 
NSHealthUpdateUsageDescription

The issue is that if your App only reads data from HealthKit it still requires to add both. But it’s only required by iTunes Connect. There is no error or warning while compiling or running the code, you just see it when uploading the build for distribution.

Steps to Reproduce:
1. Add HealthKit.framework to your App
2. Add only NSHealthShareUsageDescription description in Info.plist
3. Upload the build to iTunes Connect

Expected Results:
The upload succeeds as the App is NOT using write APIs

Actual Results:
The upload fails with the error 
ERROR ITMS-90683: "Missing Info.plist key. This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSHealthUpdateUsageDescription key with a string value explaining to the user how the app uses this data."

Version:
11.2

Notes:

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!