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.
問(wèn)題原因:項(xiàng)目中未配置Push Notification Capacity.
解決方法:
XCode->Signing & Capabilities
點(diǎn)擊左上角"+ Capability"
逃贝,在彈窗中選中"Push Notifications",雙擊后自動(dòng)生成appName.entitlements:
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.
問(wèn)題原因:項(xiàng)目中使用了UIWebView并闲,蘋(píng)果已deplicate UIWebView
解決方法:改用WKWebView