Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Certificates and provisions for iOS build in {N}

I have followed steps mentioned at this answer for creating development certificate and provision profile. I am trying to implement FCM and running Nativescript application in real device. Following are the steps I have followed to build project :

  1. Imported provision with appbuilder provision import path/to/provision
  2. Installed development certificate in the key-chain.
  3. Exported .p12 file and saved to local disk.
  4. Imported certificate with appbuilder certificate import path/to/p12/cert
  5. Creating build with appbuilder build ios --provision "XXXX" --certificate "XXXX"

But it does give me error

Certificate is not included in provision's certificates

Please correct me if i did anything wrong. Do suggest some solution if you have been through this as i am new to this stuff and Nativescript.

P.S. I also tried giving provision to appbuilder site it also shows some warning in certificate field

Here is APNS permission

enter image description here


UPDATE:


As mentioned by @Eddy Verbruggen (Author NativeScript Firebase plugin)

I asked Telerik after this email and they confirmed it's a bug in their browser client and hope to have it fixed soon. They created a ticket for it.

like image 311
Hardik Vaghani Avatar asked Oct 19 '22 00:10

Hardik Vaghani


1 Answers

In tutorial he didn't check push notification in app id please ensure that in your app id you enabled Push notification as screenshot and has green circle

enter image description here

like image 168
Hosny Avatar answered Oct 20 '22 23:10

Hosny