Enable HealthKit capability on App IDs - #3
Open
Edris-Rahimi wants to merge 1 commit into
Open
Edris-Rahimi wants to merge 1 commit into
Edris-Rahimi wants to merge 1 commit into
Conversation
Map the com.apple.developer.healthkit entitlement to the HealthKit App ID feature (HK421J6T7P) and allow it for free and paid teams, so the provisioning profile includes HealthKit and the signer keeps the entitlement instead of stripping it.
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.
Apps with the
com.apple.developer.healthkitentitlement lose it when installed through SideStore.Feature(entitlement:)has no HealthKit mapping, so the HealthKit capability is never enabled on the App ID. The provisioning profile then lacks it, and the signer strips the entitlement. At runtime the app fails with "Missing com.apple.developer.healthkit entitlement".Changes
Feature.healthKit(HK421J6T7P) and mapcom.apple.developer.healthkitto it.healthKittofreeEntitlementsApple lists HealthKit as supported for free developer accounts: https://developer.apple.com/help/account/reference/supported-capabilities-ios
Testing
Free Apple ID, LiveContainer + SideStore built with this patch. Deleted the existing App ID, then installed a HealthKit app through SideStore. The new App ID got HealthKit enabled, the app kept the entitlement, and the Health permission sheet appeared.