ios ITMS-90078 报错

因为用对跨平台开发,对iOS开发不熟,在上架过程中出现如下错误,通过邮件对形式发送过来的。

内容如下:

App Store Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, “appname” 2.0.0 (1.1.4). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

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.

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

Best regards,

The App Store Team

大概问题意思
这里通过翻译,知道了大概意思是app使用了推送但是并没有进行相关的设置,官网有提到过,这个并不影响审核的通过,但是可能会每次发一个新版本都会出现这样个邮件,如果你烦这个都话,可以试着采用以下方法进行问题都解决

两种解决方法
1 在网页中进行修改
2 在xcode中进行修改

上面都截图包含了两种方法,不过第二个截图原文没有那么清晰,这里为上传一张自己的。

原文的:

自己的:

在对应的位置
输入:DISABLE_PUSH_NOTIFICATIONS=1

这样差不多就可以了,一定要查仔细了,我这可是第二次上传了?
————————————————
版权声明:本文为CSDN博主「xudailong_blog」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/xudailong_blog/article/details/100833211

你可能感兴趣的:(ios ITMS-90078 报错)