HealthKit: Missing usage description / not authorized iOS Origin: On your device OSI layer 7 · Application Last updated 25 Nov 2026

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSHealthShareUsageDescription must be set in the app's Info.plist'

HealthKit requires usage descriptions and the capability.

Exact message you may see NSHealthShareUsageDescription must be set in the app's Info.plistHealthKit usage description missing
Seen on: iOS Swift

Meaning

Add NSHealthShareUsageDescription / NSHealthUpdateUsageDescription to Info.plist, enable the HealthKit capability and request authorization before reading.

Common causes

  • Info.plist keys missing
  • Capability not added
  • Authorization not requested

⚡ Quick fix

  1. Add the plist keys
  2. Add the HealthKit capability
  3. Call requestAuthorization first

Detailed fix by platform

Xcode

  1. Info.plist → Privacy - Health Share Usage Description

How to diagnose

  1. Keys — present?
  2. Capability — enabled?
  3. Authorization — requested?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

App Privacy: data collection doesn't match your declarations — ITMS-91061 / App Store Connect: privacy details don't match what the app collects (iOS)App Privacy: data col…App Tracking Transparency prompt not appearing — (behavior) ATTrackingManager.requestTrackingAuthorization never shows the dialog (iOS)App Tracking Transpar…attempted to access privacy-sensitive data without a usage description — This app has crashed because it attempted to access privacy-sensitive data without a usage description (iOS)attempted to access p…Azure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF40101…Bitbucket: Branch permissions prevent push — remote: Branch permissions: You are not allowed to push to branch main (Git)Bitbucket: Branch per…Bluetooth: Not Available / devices not connecting on Mac — (behavior) Bluetooth menu shows "Bluetooth: Not Available" (macOS)Bluetooth: Not Availa…Camera not working: "no camera available" (VDCAssistant / appleh13camerad) — There is no connected camera. / camera in use by another application (macOS)Camera not working: "…Camera/Microphone access denied (TCC) — macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied (macOS)Camera/Microphone acc…HealthKit…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.