邮件原文:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "XXXX" 1.0.1 (58). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Though you are not required to fix the following issues, we wanted to make you aware of them:
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.
Best regards,
The App Store Team
邮件译文:
尊敬的开发商:,
我们发现您的应用程序“XXXX”1.0.1(58)最近交付的一个或多个问题。请更正以下问题,然后重新上载。
ITMS-90809:不推荐使用API-不再接受使用UIWebView的新应用程序。相反,使用WKWebView可以提高安全性和可靠性。了解更多(https://developer.apple.com/documentation/uikit/uiwebview).
虽然您不需要解决以下问题,但我们希望您了解这些问题:
ITMS-90078:缺少推送通知权限-您的应用程序似乎在Apple推送通知服务中注册,但应用程序签名的权利不包括“aps环境”权限。如果您的应用程序使用Apple推送通知服务,请确保在设置门户中为推送通知启用了应用程序ID,并在使用包含“aps环境”权限的分发配置文件签名后重新提交。Xcode不会在构建时自动从配置文件复制aps环境授权。这种行为是故意的。若要使用此授权,请在项目编辑器的“功能”窗格中启用推送通知,或手动将该授权添加到您的授权文件中。有关详细信息,请参阅https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1。
谨致问候,
应用商店团队