Guideline 2.5.1 - Performance - Software Requirements 被拒

Guideline 2.5.1 - Performance - Software Requirements



We noticed that your app uses HealthKit, but your app does not appear to include any primary features that require health or fitness data. 

The intended use of HealthKit is to share health or fitness data with other apps or devices, and it should be used only in apps that require this data as a part of the app's core functionality. 

Next Steps

To resolve this issue, please remove any HealthKit functionality from your app, as well as any references to this app’s interactivity with HealthKit from the app or its metadata. This includes removing any HealthKit-related keys in your app's Info.plist as well as removing any calls to HealthKit APIs, including those from 3rd party platforms, from your app.



翻译下:

指导2.5.1 -性能-软件需求我们注意到你的应用程序使用HealthKit,但你的应用似乎并不包括任何需要的健康数据的主要特征。HealthKit的用途是分享健康和健身数据与其他应用程序或设备,它应该只在应用程序需要使用这些数据的应用程序的核心功能。下一个步骤为了解决这个问题,请删除任何HealthKit从你的应用程序功能,以及对这个程序的任何引用与HealthKit交互性的应用程序或其元数据。这包括移除任何HealthKit-related键在你的应用程序的信息。plist以及删除任何调用HealthKit api,包括那些来自第三方平台,从你的应用程序。

我想不通的是,为什么很多程序员会把用不到的权限打开     ???? (比如我接收的这位大兄弟的代码 ,什么权限都写上了,但是只用到了相机,相册)

解决方法1:如果自己没有使用到 HealthKit 权限

1.检查自己的info .plist  是否有NSHealthShareUsageDescription NSHealthUpdateUsageDescription 这两个 删除掉就可以了

2. TARGETS ->  Capabilities    HealthKit  是否是打开的状态

猜你喜欢

转载自www.cnblogs.com/yangqinoak/p/10854867.html
今日推荐