I'm using Ionic/Cordova to build an Android and iOS app. Before deployments, I use Jenkins to run 'ionic build ios --device' to create a final IPA file for QA to test against. Unfortunately, using xCode 8 you now have to manually enable the Push Notification capability in the XCode project capabilities settings.
Is there a way to pass capabilities to ionic build
or cordova build
so that push notifications will be enabled when building via CLI?
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.
Cordova iOS 6.2. 0 Released! We are happy to announce that we have just released Cordova iOS 6.2. 0 !
If you update Cordova CLI to 6.4.0, update your platform to cordova-ios 4.3.1 and update the phonegap-plugin-push to 1.9.2 then everything should work.
If you are using another plugin, it will need an update.
You can also download Xcode 7 from the Apple developer website and continue using it until Apple makes Xcode 8 mandatory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With