I'm trying to add Firebase Messaging to my iOS app. I've followed the steps in the Firebase documentation, namely:
- Uploaded the APNs Certificate
- Imported Firebase and added
[FIRApp configure]
- Imported Firebase Messaging with
@import FirebaseMessaging
and addedFIRMessagingDelegate
However at this point I get an error:
@interface AppDelegate () <UNUserNotificationCenterDelegate, FIRMessagingDelegate>
// Cannot find protocol declaration for FIRMessagingDelegate
I've updated my pods (suggested by similar issues found on Stack Overflow), but still get the same error. To confirm, running pod update
gives the following output:
Using FirebaseMessaging (1.2.2)
Any suggestions?