Dear developer,
We have discovered one or more issues with your recent delivery for
“XXXXXXXXX”. Your delivery was successful,but you may wish to correct
the following issues in your next delivery:Missing Push Notification Entitlement – Your app includes an API for
Apple’s Push Notification service,but the aps-environment entitlement
is missing from the app’s signature. To resolve this,make sure your
App ID is enabled for push notification in the Provisioning Portal.
Then,sign your app with a distribution provisioning profile that
includes the aps-environment entitlement. This will create the correct
signature,and you can resubmit your app. See “Provisioning and
Development” in the Local and Push Notification Programming Guide for
more information. If your app does not use the Apple Push Notification
service,no action is required. You may remove the API from future
submissions to stop this warning. If you use a third-party framework,
you may need to contact the developer for information on removing the
API.After you’ve corrected the issues,you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.Regards,
The App Store team
解决方法
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/ DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>aps-environment</key> <string>production</string> <!-- Either development or production --> </dict> </plist>
在Xcode 8之前,Xcode会读取您的配置配置文件,如果配置文件中设置了推送权限,则会自动将您的权利添加到该版本.自Xcode 8以来,不再是这样,您必须具体指定您使用的权利.