fechanique / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
624 stars 991 forks source link

No visible @interface for 'FIRInstanceID' declares the selector 'token' while iOS build for Ionic v3 #610

Open atimsihcus opened 4 years ago

atimsihcus commented 4 years ago

Hello,

I am building an Ionic 3 app for iOS using your plugin and I'm getting the following error:

No visible @interface for 'FIRInstanceID' declares the selector 'token'

I could not figure why this error is coming. I have followed all the instructions in your documentation like adding GoogleService-Info.plist in folder root, generating keys and certificates from apple dev account and uploading apns key to firebase console.

Can you guide me regarding this issue?

Ionic Info:

Ionic:

   Ionic CLI          : 5.2.7 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.8
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 13 other plugins)

Utility:

   cordova-res : 0.6.0 
   native-run  : 0.2.8 

System:

   ios-deploy : 1.9.4
   ios-sim    : 8.0.2
   NodeJS     : v10.16.1 (/usr/local/bin/node)
   npm        : 6.9.0
   OS         : macOS Mojave
   Xcode      : Xcode 10.3 Build version 10G8
yashdabi commented 4 years ago

same issue for ionic 4

MiqueiasMaia commented 4 years ago

Did u solved this issue?

dineshmaths1 commented 2 years ago

give me the solution how to fix ?