1.创建APPID时,勾选HealthKit
2.在Target-Capability勾选HealthKit
3.在info上添加
Privacy - Health Update Usage Description
health
Privacy - Health Share Usage Description
health
NSHealthShareUsageDescription
some string value stating the reason
NSHealthUpdateUsageDescription
some string value stating the reason