我在使用FirebaseMessaging时遇到麻烦。完成pod更新并编译了项目后,我遇到了2个错误;
-
在FIRMessagingTopicOperationCompletion中出现类型错误
- (instancetype)initWithTopic:(NSString *)topic
操作:(FIRMessagingTopicAction)操作
令牌:(NSString *)令牌
选项:(NSDictionary *)选项
checkinService:(FIRMessagingCheckinService
*)checkinService
完成:(FIRMessagingTopicOperationCompletion)
完成{
if(self = [super init]){_topic =主题; _action =操作;
_token =令牌;
_options =选项;
_checkinService = checkinService;
_completion =完成;
_isExecuting =否;
_isFinished =否;
}
返回自我
}
-
预期一种类型
FIRMessagingTopicOperation.h
感谢您的帮助,