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

**Code:** `HealthKit: Missing usage description / not authorized` · **Category:** iOS · **Seen on:** iOS, Swift

HealthKit requires usage descriptions and the capability.

## 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?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/ios/healthkit-authorization-not-determined)
