清风徐来
清风徐来
  • 发布:2018-07-26 16:39
  • 更新:2018-07-26 17:20
  • 阅读:1600

iOS被拒,消息推送

分类:HBuilder

Missing Info.plist key- This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing Push Notification Entitlement- Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

我检查了没有发现配置消息推送,怎么审核提示说使用了消息推送呢?

2018-07-26 16:39 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

以上描述说的是你在苹果网站上注册的App ID中已经打开APNS,而应用中没有包含APNS的功能。有两种解决方法:

  1. 在应用中包含APNS功能,在HBuilder中添加Push模块
  2. 在苹果网站上的App ID管理中关闭APNS功能,更新profile文件后重新打包
  • 清风徐来 (作者)

    我已经检查了,app id没有开启apns功能,只开了两个默认的功能。看截图。

    2018-07-26 17:25

  • DCloud_App_Array

    重新生成profile文件

    2018-07-26 17:33

  • 清风徐来 (作者)

    回复 DCloud_App_Array:我已经重新生成profile文件,并重新打包,提交AppStore connect。还是不行,请看上面文章内容,我已经更新。

    2018-07-26 18:00

  • DCloud_App_Array

    提供下appid(manifest.json中的id字段值)

    2018-07-26 18:16

  • 清风徐来 (作者)

    回复 DCloud_App_Array:id是:KelonAir。麻烦了,谢谢。

    2018-07-26 18:23

  • DCloud_App_Array

    语音识别(讯飞)模块中有调用到系统联系人相关的API,需要配置使用联系人的描述信息(NSContactsUsageDescription),参考:http://ask.dcloud.net.cn/article/12964。

    关于APNS的问题只是提醒,不是必须修复(you are not required to fix the following issues),目前不影响审核。

    2018-07-26 20:13

该问题目前已经被锁定, 无法添加新回复