Adobe和Firebase同时不在AppDelegate工作
我在两个不同的项目中在AppDelegate中实施了Adobe生命周期事件和Firebase消息传递功能。
但是,当我尝试将Adobe Lifecycle代码与Firebase代码添加并导入Adobe Analytics的POD(AEPCORE,AEPANALYTICS,AEPANALYTICS,AEPUSERPROFILE,AEPIDENTITY,AEPIDENTICE,AEPLIFECYCLE,AEPSIGNAL,AEPSIGNAL,AEPSEVITES,AEPSEVITES,ACPOCERES),然后我得到此错误:
无法将“ AppDelegate”类型的值分配给type“ MessagingDelegate?”
如果有人面对这个问题,请帮助。
I implemented Adobe Lifecycle events and Firebase messaging feature in AppDelegate in two different projects.
But when I try to add adobe lifecycle code with firebase code and import the pods for Adobe Analytics (AEPCore ,AEPAnalytics ,AEPUserProfile, AEPIdentity, AEPLifecycle, AEPSignal,AEPServices ,ACPCore) then I get this error:
Cannot assign value of type 'AppDelegate' to type 'MessagingDelegate?'
Please help if someone faced this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您编写“ Extension AppDelegate:firebasemessaging.messagingdelegate”而不是“扩展AppDelegate:MessagingDelegate”时,它起作用。
It worked when you write " extension AppDelegate: FirebaseMessaging.MessagingDelegate " instead of "extension AppDelegate: MessagingDelegate"