Add HealthKit update usage description to Info.plist - #5267
Merged
Conversation
Apple rejects the App Store upload (error 90683) when the HealthKit entitlement is present but NSHealthUpdateUsageDescription is missing. The app only reads HealthKit data, so the string states that no data is written.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses an App Store upload failure (error 90683) by adding the missing HealthKit write-purpose string required whenever the HealthKit entitlement is present, even if the app only reads Health data.
Changes:
- Add
NSHealthUpdateUsageDescriptionto the app’sInfo.plistwith a user-facing explanation.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI Policy
Select exactly one option that describes AI usage in this contribution:
Summary
The App Store upload of the iOS build fails with error 90683 because the app now ships the HealthKit entitlement but is missing the
NSHealthUpdateUsageDescriptionkey in its Info.plist:Apple requires this key whenever the HealthKit entitlement is present, even for read-only usage. The app only reads Health data (
requestAuthorizationuses an emptytoShareset), so the purpose string states that no data is written.Screenshots
No visual change. The string is only shown if write access is ever requested, which the app never does.
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes
Follow-up to #4923 and #5264.