苹果对于用户的隐私还是非常重视的,对于用到HealthKit或CareKit的应用,审核就会特别照顾一下,因为HealthKit被拒了好几次总结下
上架含有HealthKit应用需要有以下几个配置
一、在Xcode的Capabilites中添加HealthKit
二、在info.plist中添加HealthKit权限申请
<key>NSHealthShareUsageDescription</key>
<string>App需要您的同意,才能访问健康分享</string>
<key>NSHealthUpdateUsageDescription</key>
<string>App需要您的同意,才能访问健康更新 </string>
<key>NSMotionUsageDescription</key>
<string>App需要您的同意,才能访问运动与健身</string>
三、开发者中心开启HealthKit
四、在APP描述中需要说明HealthKit的作用和用途
五、隐私条款中也要说明收集和使用HealthKit的用途
六、使用到HealthKit功能需要在界面体现出来,审核人员要看到
移除HealthKit遇到上架被拒问题
Guideline 2.5.1 - Performance - Software Requirements
Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface.
Next Steps
To resolve this issue, please clearly identify the HealthKit functionality in app's user interface to avoid confusion
按照上面步骤移除了所有配置还是被拒了,移除HealthKit依赖库