I am using cordova-plugin-fsm to send push notifications. In Android, it works perfectly fine.
But in IOS I am getting issues while building the project. Opened the project in XCode 9. It is giving following errors
I am using cordova-plugin-fsm to send push notifications. In Android, it works perfectly fine.
But in IOS I am getting issues while building the project. Opened the project in XCode 9. It is giving following errors
See attached screenshot. In Xcode, check that you have enabled push notifications in the "Capabilities" tab. This needs to be done even though you have checked remote notifications in background modes.
EDIT
I just realised why you don't see push notifications under "Capabilities". Some capabilities (such as PNS), require extra setup in Developer Center (and you need to connect Xcode with your Apple Developer account as well, for it to be configured properly).
Quote from the docs: "Certain app services—such as Game Center and In-App Purchase—are available only to members of the Apple Developer Program who distribute their apps through the store. These services require additional configuration in your Xcode project, your developer account, and sometimes iTunes Connect. Push notifications require additional setup in your developer account".
You can read more about it here.
you should create enable push notification from apple developers account. You get more details from bellow link https://documentation.onesignal.com/docs/ionic-sdk-setup