Hi, i can successfully build my project using xcode workspace, can make an archive and upload to app store but recently i received nice warning from Apple:
Your delivery was successful, but you may wish to correct the following issues in your next delivery: 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 8 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.
The consequence is push notifications work on devices with ios11 but not with ios10. i spent all day on checking various options on xcode and found nothing to help me resolve that issue.
ps. I use phonegap-plugin-push 2.1.0 “PushPlugin”
ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.2 Cordova Platforms : ios 4.5.3 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 ios-sim : 5.0.13 Node : v6.10.0 npm : 3.10.10 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b