FIRMessaging Delegate Error

I tried to add FIRMessagingDelegate but Xcode gives an error

Cannot find protocol declaration for FIRMessagingDelegate.

I imported FirebaseMessaging and it gives no errors. I checked pods and it seems fine.

Installing Firebase (3.2.1)
Using FirebaseAnalytics (3.2.0)
Using FirebaseInstanceID (1.0.6)
Installing FirebaseMessaging (1.1.0)

How I try to implement;

#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>
#import <MessageUI/MessageUI.h>

#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
@import UserNotifications;

@import Firebase;
@import FirebaseInstanceID;
@import FirebaseMessaging;

@interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate, FIRMessagingDelegate>

I could not find any solution, what could be the reason for error?


Pods are updated so I tried it again. Now it works without problem.

Need Your Help

Efficient way to serialize/de-serialize List of Objects to byte[] c#

c# performance serialization bytearray

I am looking for some processing/memory efficient and simple technique to serialize/deserialize a list of objects (like List to byte[] and vice-verse. I came to know that google uses protobuf for t...

Easy search in Yii gridview?

php yii

In yii during search when we enter any string yii Search function search that string in related model like %string% . I want to make search easy like I want to search like %string or string% but that