Firebase Push Notifications iOS: Cannot find 'InstanceID' in scope

Hi, I followed these two tutorials (there are slightly differences in the PodFile), but the error is the same:

Android is working fine, but on iOS I’m getting an error in the AppDelegate.swift file in this line:
InstanceID.instanceID().instanceID { (result, error) in
Cannot find 'InstanceID' in scope

Can anyone please help me? Thanks!

Got it: Solve Capacitor error: no such module FirebaseInstanceID | Medium

1 Like