App Store上架被拒实操汇总

ITMS-90078: Missing Push Notification Entitlement

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.

问题原因:项目中未配置Push Notification Capacity.

解决方法:
XCode->Signing & Capabilities


image.png

点击左上角"+ Capability",在弹窗中选中"Push Notifications",双击后自动生成appName.entitlements:

image.png

ITMS-90809: Deprecated API Usage

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020. See https://developer.apple.com/documentation/uikit/uiwebview for more information.

问题原因:项目中使用了UIWebView,苹果已deplicate UIWebView

解决方法:改用WKWebView

你可能感兴趣的:(App Store上架被拒实操汇总)