帖子
帖子
用户
博客
课程
12下一页
返回列表 发新帖
显示全部楼层

[云开发] 上架applestore关于ios通知的一个警告

[复制链接]
发表于 2019-11-20 16:55:51
现在是这样子,我们用了阿里云推送的一个模块,配置了厂商通道,就是可以让安卓和ios在不打开app 的情况下收到通知,但是ios上架时候出现一个警告,内容如下:
  1. Dear Developer,

  2. We identified one or more issues with a recent delivery for your app, "驾所通" 1.2.27 (1.2.27). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

  3. ITMS-90078: 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 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.

  4. After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.

  5. Best regards,

  6. The App Store Team
复制代码
翻译后的结果就是:
  1. 亲爱的开发人员,

  2. 我们发现您的应用“送货” 1.2.27(1.2.27)的最新交付存在一个或多个问题。您的交付成功,但是您可能希望在下一次交付中更正以下问题:

  3. ITMS-90078:缺少推送通知权利 -您的应用程序似乎已在Apple推送通知服务中注册,但应用程序签名的权利不包括“ aps-environment”权利。如果您的应用程序使用Apple Push Notification服务,请确保您的App ID在Provisioning Portal中启用了Push Notification,并在使用包含“ aps-environment”权利的Distribution Provisioning配置文件对您的应用程序进行签名后重新提交。Xcode不会在构建时自动从供应配置文件复制aps环境权利。此行为是故意的。要使用此权利,请在项目编辑器的“功能”窗格中启用“推送通知”,或将权利手动添加到您的权利文件中。想要查询更多的信息,loper.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

  4. 解决问题之后,可以使用Xcode或Application Loader将新的二进制文件上传到App Store Connect。

  5. 最好的祝福,

  6. App Store团队
复制代码

他只是个警告,不影响上架审核,但还是想问一下这个我明明在云编译里勾选了提醒事项为什么还是说没有权限之类的
9
帖子
0
勋章
5634
Y币
我帮你问一下把
28
帖子
1
勋章
1万+
Y币
意思是你的证书不包含推送功能,去苹果开发网站勾选推送功能并更新证书。

好的谢谢
技术咨询-Kenny 发表于 2019-11-20 17:07
意思是你的证书不包含推送功能,去苹果开发网站勾选推送功能并更新证书。 ...

是指发布到applestore的发布证书里去勾选推送功能吗
技术咨询-Kenny 发表于 2019-11-20 17:07
意思是你的证书不包含推送功能,去苹果开发网站勾选推送功能并更新证书。 ...

这个推送在Identifiers明明勾选了的
微信截图_20191120174150.png
貌似是少了aps-environment的缘故
28
帖子
1
勋章
1万+
Y币
健美猪 发表于 2019-11-20 17:43
这个推送在Identifiers明明勾选了的

更新一下provision
26
帖子
2
勋章
9404
Y币
bundleID 没有勾选推送的原因
12下一页
您需要登录后才可以回帖 登录

本版积分规则